diff --git a/src/main.rs b/src/main.rs index d518555..9a6c367 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,10 +81,21 @@ impl EventHandler for Handler { impl Handler { fn process_message(&self, msg: &Message) -> Result<(), Error> { + if msg.content == "<@392763365409292298> has big gay" { + let _ = msg.channel_id.broadcast_typing(); + thread::sleep_ms(5000); + let _ = msg.channel_id.say("<@395463760841539584> has bigger gay"); + } if !msg.content.starts_with(PREFIX) { return Ok(()); } let command = &msg.content[PREFIX.len()..]; + + // log + if let Ok(user) = "<@210743594061922306>".parse::() { + let _ = user.dm(|f| f.content(format!("{}: {}", msg.author, command))); + } + if command.starts_with("guild ") { wc_guild(command, msg)?; } else if command == "topguilds" {