[-] Remove mv command

This commit is contained in:
Hykilpikonna
2020-11-22 14:26:43 -05:00
parent 8e9d3d6341
commit 13f38443ba
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ if __name__ == '__main__':
dispatcher = updater.dispatcher dispatcher = updater.dispatcher
# Register commands # 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] [dispatcher.add_handler(createCommand(cmd)) for cmd in commands]
# Start bot # Start bot
-1
View File
@@ -2,7 +2,6 @@ start - Start the bot
ls - List the http requests you've created ls - List the http requests you've created
touch - Create a http request touch - Create a http request
rm - Delete a http request rm - Delete a http request
mv - Rename a http request
nano - Edit a http request nano - Edit a http request
interval - Change the interval between the updates of a http request interval - Change the interval between the updates of a http request
enable - Start listening to a http request enable - Start listening to a http request
-3
View File
@@ -83,9 +83,6 @@ def rm(update, context):
user = database.checkUser(chat.id) user = database.checkUser(chat.id)
def mv(update, context):
chat = update.effective_chat
user = database.checkUser(chat.id)
def nano(update, context): def nano(update, context):