2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 06:26:04 +00:00

what the fuck have I done

This commit is contained in:
Nick80835
2020-07-16 13:41:42 -04:00
parent 32110cf291
commit cc1ec39e53
10 changed files with 36 additions and 29 deletions

View File

@@ -15,12 +15,13 @@ async def delete_message(event):
@ldr.add("help")
async def help_cmd(event):
prefix = ldr.prefix()
help_string = ""
for key, value in ldr.help_dict.items():
help_string += f"\n**{key}**: "
for info in value:
help_string += f"`{info}`, "
help_string += f"{prefix}{info}, "
help_string = help_string.rstrip(", ")
await event.reply(f"**Available commands:**\n{help_string}")