forked from Pycord-Development/pycord
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
if we're here then it's not a cog, group, or command.
Author: [email protected]
Line: 378
pycord-next/discord/ext/commands/context.py
Lines 375 to 385 in c3e7453
return None | |
if not hasattr(entity, "qualified_name"): | |
# TODO: this is ugly shit please make it better like isinstance idk | |
# if we're here then it's not a cog, group, or command. | |
return None | |
await cmd.prepare_help_command(self, entity.qualified_name) | |
try: | |
if hasattr(entity, "__cog_commands__"): |