diff --git a/main.py b/main.py index 3c42702..941ac00 100644 --- a/main.py +++ b/main.py @@ -161,10 +161,10 @@ async def help(args, room, event): # No command specified, send command list source_text = f"\nSource Code" if settings["source_url"] else "" helptext = "Admin Commands:\n" - for command in settings["admin_command_list"].keys(): + for command in settings["admin_command_list"]: helptext += settings["help_messages"][command] + "\n" helptext += "\nUser Commands:\n" - for command in settings["command_list"].keys(): + for command in settings["command_list"]: helptext += settings["help_messages"][command] + "\n" helptext += "\n\nArguments: (optional) [required] {admin only, optional}" return await send_text(room.room_id, helptext.replace("{prefix}", settings["prefix"]) + source_text)