From 33c02b15130d9a448a3a1b210d80402efc1ceebe Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 22 Nov 2020 11:50:24 -0500 Subject: [PATCH] [+] Create command help --- src/bot.py | 20 ++++++++++++++++++++ src/commands.md | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/bot.py create mode 100644 src/commands.md diff --git a/src/bot.py b/src/bot.py new file mode 100644 index 0000000..1d226a6 --- /dev/null +++ b/src/bot.py @@ -0,0 +1,20 @@ + +helpMsg = """ +Welcome! This bot monitors http changes! + +/start - Start the bot + +**Management Commands** +/ls - List the http requests you've created +/touch - Create a http request +/rm - Delete a http request +/mv - Rename a http request + +**Configuration Commands** +/nano - Edit a http request +/interval - Change the interval between the updates of a http request + +**Start/Stop Commands** +/enable - Start listening to a http request +/stop - Stop listening to a http request +""" diff --git a/src/commands.md b/src/commands.md new file mode 100644 index 0000000..511f916 --- /dev/null +++ b/src/commands.md @@ -0,0 +1,9 @@ +start - Start the bot +ls - List the http requests you've created +touch - Create a http request +rm - Delete a http request +mv - Rename a http request +nano - Edit a http request +interval - Change the interval between the updates of a http request +enable - Start listening to a http request +stop - Stop listening to a http request