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
This commit is contained in:
Rapptz committed 2021-06-08 10:56:26 -04:00
1 parent 2247fbb23a
commit 7dccbace78
3 files changed
+552 -388

No files matched your search

+535 -381
View File
File diff suppressed because it is too large. Load diff