diff options
| author | Danny <[email protected]> | 2021-08-26 17:51:49 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-26 17:51:49 -0400 |
| commit | e7821be4aac7ab68be37a991a68796f01ffc1ece (patch) | |
| tree | e2f8c851822455d17d6a9d7de31d9107e0c750ee | |
| parent | Update thread permissions (diff) | |
| download | discord.py-e7821be4aac7ab68be37a991a68796f01ffc1ece.tar.xz discord.py-e7821be4aac7ab68be37a991a68796f01ffc1ece.zip | |
Add default value for invitable in HTTPClient
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 72fab011..7a4c2adc 100644 --- a/discord/http.py +++ b/discord/http.py @@ -908,7 +908,7 @@ class HTTPClient: name: str, auto_archive_duration: threads.ThreadArchiveDuration, type: threads.ThreadType, - invitable: bool, + invitable: bool = True, reason: Optional[str] = None, ) -> Response[threads.Thread]: payload = { |