1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Use the qualified name for the commands

This commit is contained in:
Phxntxm 2017-05-18 20:45:24 -05:00
parent 11fae59047
commit 38018674bc

View file

@ -92,7 +92,7 @@ class Miscallaneous:
example = None
result = None
# Also get the subcommands for this command, if they exist
subcommands = [x for x in utils.get_all_subcommands(command) if x != command]
subcommands = [x.qualified_name for x in utils.get_all_subcommands(command) if x != command]
# The rest is simple, create the embed, set the thumbail to me, add all fields if they exist
embed = discord.Embed(title=command.qualified_name)