This commit is contained in:
thedragonsinn
2024-02-22 16:53:13 +05:30
parent 3bea2c4c20
commit 311668ff49

View File

@@ -86,7 +86,7 @@ async def del_scmd(bot: BOT, message: Message):
@bot.add_cmd(cmd="vscmd")
async def view_sudo_cmd(bot: BOT, message: Message):
cmds = [cmd_name for cmd_name, cmd_obj in Config.CMD_DICT.keys() if cmd_obj.loaded]
cmds = [cmd_name for cmd_name, cmd_obj in Config.CMD_DICT.items() if cmd_obj.loaded]
if not cmds:
await message.reply("No Commands in SUDO!")
return