1
0
Fork 0
mirror of synced 2024-06-24 01:00:29 +12:00

Corrected an issue where the command, and a string were being compared

This commit is contained in:
Phxntxm 2016-12-19 11:00:06 -06:00
parent ea6ae3dab4
commit 175004305f

View file

@ -172,7 +172,7 @@ class Core:
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]
# 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
embed = discord.Embed(title=cmd.qualified_name)