diff options
| author | 2020-12-12 02:37:03 +0100 | |
|---|---|---|
| committer | 2020-12-15 05:02:11 +0100 | |
| commit | 30a3ce49fd346e4a2f4b3c9c12806a2aba8e9e16 (patch) | |
| tree | 2316a652dfd304708a3ca65648205f2164190efb /tests/__init__.py | |
| parent | Provide feedback to user when no cache to clear was found (diff) | |
Create function for merging function and decorator wrapper globals
discord.py uses the globals of functions to resolve forward refs
in commands, previously decorators applied before commands
broke the bot with forwardrefs to names that weren't in the namespace
of the module where they were defined, the new function takes care of
merging the globals in a new function to mitigate this issue.
closes: #1323
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions