diff options
| author | Rapptz <[email protected]> | 2021-08-10 22:58:02 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-08-10 23:00:24 -0400 |
| commit | 6e6c8a7b2810747222a938c7fe3e466c2994b23f (patch) | |
| tree | 4890629c984158d6b206b5b7c40f967f8d7f7fbf /docs | |
| parent | Clarify StageInstance.discoverable_disabled documentation (diff) | |
| download | discord.py-6e6c8a7b2810747222a938c7fe3e466c2994b23f.tar.xz discord.py-6e6c8a7b2810747222a938c7fe3e466c2994b23f.zip | |
Refactor Client.run to use asyncio.run
This also adds asynchronous context manager support to allow for
idiomatic asyncio usage for the lower-level counterpart. At first
I wanted to remove Client.run but I figured that a lot of beginners
would have been confused or not enjoyed the verbosity of the newer
approach of using async-with.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions