[F] Fix markdown format parsing
This commit is contained in:
@@ -27,3 +27,6 @@ if __name__ == '__main__':
|
||||
|
||||
# Register commands
|
||||
dispatcher.add_handler(CommandHandler('start', start))
|
||||
|
||||
# Start bot
|
||||
updater.start_polling()
|
||||
|
||||
+4
-4
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user