Add default value for invitable in HTTPClient

This commit is contained in:
Danny
2021-08-26 17:51:49 -04:00
committed by GitHub
parent 4aafa39e8c
commit e7821be4aa

View File

@ -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 = {