From 32f3b89c419739d7a811e28b352966ee17ef1298 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Sat, 6 Aug 2022 23:10:46 +0200 Subject: [PATCH] more debug... who overwrote! --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index c167365..70e8f6c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,6 +24,10 @@ impl EventHandler for Handler { println!("Error sending message: {:?}", why); } } + if msg.content == "hello" + { + if let Err(why) = message.channel_id.say(&ctx.http, "https://www.nohello.com/") + } } // Set a handler to be called on the `ready` event. This is called when a