diff --git a/src/bot.py b/src/bot.py index 383946e..b94df8f 100644 --- a/src/bot.py +++ b/src/bot.py @@ -26,7 +26,7 @@ if __name__ == '__main__': dispatcher = updater.dispatcher # Register commands - commands = [start, ls, touch, rm, mv, nano, interval, enable, disable] + commands = [start, ls, touch, rm, nano, interval, enable, disable] [dispatcher.add_handler(createCommand(cmd)) for cmd in commands] # Start bot diff --git a/src/commands.md b/src/commands.md index 7f65cc1..0fd058f 100644 --- a/src/commands.md +++ b/src/commands.md @@ -2,7 +2,6 @@ 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 diff --git a/src/commands.py b/src/commands.py index 5b7c2e6..a1539df 100644 --- a/src/commands.py +++ b/src/commands.py @@ -83,9 +83,6 @@ def rm(update, context): user = database.checkUser(chat.id) -def mv(update, context): - chat = update.effective_chat - user = database.checkUser(chat.id) def nano(update, context):