diff options
| author | 2020-06-20 21:33:36 +0300 | |
|---|---|---|
| committer | 2020-06-20 21:33:36 +0300 | |
| commit | 429cc865309242f0cf37147f9c3f05036972eb8c (patch) | |
| tree | fb6e9c852a1388407032547dd862cb5d1b5b5a43 /tests/__init__.py | |
| parent | Infractions: Fix cases when user leave from guild before assigning roles (diff) | |
Implement bot closing tasks waiting + breaking `close` to multiple parts
Made to resolve problem with Reddit cog that revoking access token raise
exception because session is closed. To solve this, I made
`Bot.closing_tasks` that bot wait before closing.
Moved all extensions and cogs removing to `remove_extension` what is
called before closing everything else because need to call `cog_unload`.
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions
