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