aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cogs/__init__.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-09-25 17:20:17 -0700
committerGravatar MarkKoz <[email protected]>2019-09-25 17:20:17 -0700
commit485b49b70b3bfe6d6abf2227336cd9f0aa7a4563 (patch)
treef2b7e4f1c47257fed6145b1e1388d1a39a874904 /tests/cogs/__init__.py
parentNote Type Correction (diff)
Fix AttributeError with cog special methods
Discord.py's internals use the __func__ attribute of special methods (cog_command_error, cog_check, cog_before_invoke, cog_after_invoke). Therefore the methods must be bound methods rather than static so that the attribute exists.
Diffstat (limited to 'tests/cogs/__init__.py')
0 files changed, 0 insertions, 0 deletions