add all caps passive responding
This commit is contained in:
parent
6ae05a9ce0
commit
4e6430ad27
2 changed files with 10 additions and 0 deletions
7
src/passive/all_caps.rs
Normal file
7
src/passive/all_caps.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use crate::simple_responder;
|
||||
|
||||
simple_responder!(
|
||||
AllCapsResponder,
|
||||
r"^[A-Z\s]{10,}$",
|
||||
"ノ( º _ ºノ) bruh calm down there"
|
||||
);
|
|
@ -1,4 +1,5 @@
|
|||
use ahhhh::YellResponder;
|
||||
use all_caps::AllCapsResponder;
|
||||
use best_doctor::BestDoctorResponder;
|
||||
use desu::DesuResponder;
|
||||
use reee::ReeeResponder;
|
||||
|
@ -7,6 +8,7 @@ use serenity::model::channel::Message;
|
|||
use serenity::prelude::{Context, EventHandler};
|
||||
|
||||
mod ahhhh;
|
||||
mod all_caps;
|
||||
mod best_doctor;
|
||||
mod desu;
|
||||
mod reee;
|
||||
|
@ -23,6 +25,7 @@ impl Default for Handler {
|
|||
Box::new(DesuResponder),
|
||||
Box::new(YellResponder),
|
||||
Box::new(ReeeResponder),
|
||||
Box::new(AllCapsResponder),
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue