aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny <[email protected]>2021-08-26 17:51:49 -0400
committerGitHub <[email protected]>2021-08-26 17:51:49 -0400
commite7821be4aac7ab68be37a991a68796f01ffc1ece (patch)
treee2f8c851822455d17d6a9d7de31d9107e0c750ee
parentUpdate thread permissions (diff)
downloaddiscord.py-e7821be4aac7ab68be37a991a68796f01ffc1ece.tar.xz
discord.py-e7821be4aac7ab68be37a991a68796f01ffc1ece.zip
Add default value for invitable in HTTPClient
-rw-r--r--discord/http.py2
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 = {