Skip to content

Commit

Permalink
update bot_settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 7, 2024
1 parent 76b185c commit fc58ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/modules/bot_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ async def edit_variable(_, message, pre_message, key):
value = int(value)
config_dict[key] = value
await update_buttons(pre_message, key, "editvar", False)
await message.delete()
await Database().update_config({key: value})
await delete_message(message)
# await Database().update_config({key: value})
if key in ["QUEUE_ALL", "QUEUE_DOWNLOAD", "QUEUE_UPLOAD"]:
await start_from_queued()

Expand Down

0 comments on commit fc58ca4

Please sign in to comment.