diff options
| author | 2019-09-25 17:20:17 -0700 | |
|---|---|---|
| committer | 2019-09-25 17:20:17 -0700 | |
| commit | 485b49b70b3bfe6d6abf2227336cd9f0aa7a4563 (patch) | |
| tree | f2b7e4f1c47257fed6145b1e1388d1a39a874904 /tests/helpers.py | |
| parent | Note 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/helpers.py')
0 files changed, 0 insertions, 0 deletions