Corrected an issue where the command, and a string were being compared
This commit is contained in:
parent
ea6ae3dab4
commit
175004305f
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Core:
|
||||||
result = [x.replace('RESULT: ', '') for x in description.split('\n') if 'RESULT:' in x]
|
result = [x.replace('RESULT: ', '') for x in description.split('\n') if 'RESULT:' in x]
|
||||||
description = [x for x in description.split('\n') if x and 'EXAMPLE:' not in x and 'RESULT:' not in x]
|
description = [x for x in description.split('\n') if x and 'EXAMPLE:' not in x and 'RESULT:' not in x]
|
||||||
# Also get the subcommands for this command, if they exist
|
# Also get the subcommands for this command, if they exist
|
||||||
subcommands = [x for x in utilities._get_all_commands(cmd) if x.qualified_name != cmd.qualified_name]
|
subcommands = [x for x in utilities._get_all_commands(cmd) if x != cmd.qualified_name]
|
||||||
|
|
||||||
# The rest is simple, create the embed, set the thumbail to me, add all fields if they exist
|
# The rest is simple, create the embed, set the thumbail to me, add all fields if they exist
|
||||||
embed = discord.Embed(title=cmd.qualified_name)
|
embed = discord.Embed(title=cmd.qualified_name)
|
||||||
|
|
Loading…
Reference in a new issue