use case insensitive
This commit is contained in:
parent
408cd38d4c
commit
8de3dd8d0e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ use serenity::model::channel::Message;
|
|||
use serenity::prelude::{Context, EventHandler};
|
||||
|
||||
lazy_static! {
|
||||
static ref REGEX: Regex = Regex::new("(?:[fF][uU]){3,}").unwrap();
|
||||
static ref REGEX: Regex = Regex::new("(?i:fu){3,}").unwrap();
|
||||
}
|
||||
|
||||
pub(crate) struct FufufuResponder;
|
||||
|
|
Loading…
Reference in a new issue