From aa6de0ee80b052dac0d2f1bec774bce0dedee5a5 Mon Sep 17 00:00:00 2001
From: h7x4 <h7x4abk3g@protonmail.com>
Date: Fri, 26 Mar 2021 21:32:24 +0100
Subject: [PATCH] Add help command

---
 src/Bot/BotCommands.fs | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/src/Bot/BotCommands.fs b/src/Bot/BotCommands.fs
index 25c60bc..a36c1f1 100644
--- a/src/Bot/BotCommands.fs
+++ b/src/Bot/BotCommands.fs
@@ -25,4 +25,21 @@ module BotCommands =
            match channelGotAdded with
            | true  -> ctx.RespondAsync "This is now my channel :)"   |> ignore
            | false -> ctx.RespondAsync "This is now your channel (:" |> ignore
-      } |> Async.StartAsTask :> Task 
\ No newline at end of file
+      } |> Async.StartAsTask :> Task 
+
+    [<Command("help")>]
+    member public self.help(ctx:CommandContext) =
+      async { 
+        ctx.RespondAsync 
+        """
+        Hello! This is the WikiMathBot
+
+        Here are some commands you can use:
+        !echo <something> - Test whether I'm awake or not
+        !help             - Display this message
+        !hi               - Same as !echo
+        !toggle           - Toggle my notifications in this channel
+        """ 
+        |> ignore
+      }
+      |> Async.StartAsTask :> Task
\ No newline at end of file
-- 
GitLab