this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: blahaj_is this trRUE

isabel 34e918ab 41dbec34

+1 -1
+1 -1
src/event_handler/blahaj_is_this_true.rs
··· 19 19 pub async fn handle(ctx: &Context, event: &FullEvent, _data: &Data) -> Result<()> { 20 20 if let FullEvent::Message { new_message } = event { 21 21 if new_message.mentions_user(&ctx.cache.current_user()) { 22 - let is_this = Regex::new(r"is this true(\?)?").unwrap(); 22 + let is_this = Regex::new(r"is this (true|real)(\?)?").unwrap(); 23 23 if is_this.is_match(&new_message.content) { 24 24 let select = rand::rng().random_range(0..=REPLIES.len()); 25 25 let response = REPLIES[select];