From dde36088d31c265a63af10b56e72ddf18ab696c6 Mon Sep 17 00:00:00 2001 From: lance Date: Sun, 22 Mar 2020 00:07:51 -0700 Subject: [PATCH] make help be command style --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index c603e18..e1f7153 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,14 +38,12 @@ fn main() { &channel, "This feature is still being worked on.", ); - } else if message.contains("help") { + } else if message.contains("!help") { let _ = client.send_privmsg( &channel, &help_msg, ); } - } - }) - .unwrap(); + }).unwrap(); }