diff --git a/src/bot.py b/src/bot.py index c58e2e1..f1de74a 100644 --- a/src/bot.py +++ b/src/bot.py @@ -27,3 +27,6 @@ if __name__ == '__main__': # Register commands dispatcher.add_handler(CommandHandler('start', start)) + + # Start bot + updater.start_polling() diff --git a/src/commands.py b/src/commands.py index d4b4e3d..446cb8a 100644 --- a/src/commands.py +++ b/src/commands.py @@ -4,21 +4,21 @@ Welcome! This bot monitors http changes! /start - Start the bot -**Management Commands** +*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** +*Configuration Commands* /nano - Edit a http request /interval - Change the interval between the updates of a http request -**Start/Stop Commands** +*Start/Stop Commands* /enable - Start listening to a http request /stop - Stop listening to a http request """ def start(update, context): - context.bot.send_message(chat_id=update.effective_chat.id, text=helpMsg) + context.bot.send_message(chat_id=update.effective_chat.id, text=helpMsg, parse_mode="markdown")