diff options
| author | Rapptz <[email protected]> | 2021-06-08 10:54:22 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-08 10:56:26 -0400 |
| commit | 7dccbace7821cf96965000e593a8006e64a99709 (patch) | |
| tree | 322dc0ca2c02dc019c3cea26b15e8e4b5bba8e7f /examples/basic_bot.py | |
| parent | [types] Use proper type for Guild.threads (diff) | |
| download | discord.py-7dccbace7821cf96965000e593a8006e64a99709.tar.xz discord.py-7dccbace7821cf96965000e593a8006e64a99709.zip | |
Refactor Guild to support type hints
This patch also does the following:
* Sets some parameters to be positional only
* Changes Guild.edit to use the MISSING sentinel
* Changes the various create_channel methods to be type safe
* Changes many parameters from Optional[T] to use MISSING
* Changes Guild.create_role to use MISSING sentinel
This refactor is mostly partial but lays a decent foundation
Diffstat (limited to 'examples/basic_bot.py')
0 files changed, 0 insertions, 0 deletions