Fix incorrect typehint in send_message

This commit is contained in:
Willy 2021-07-21 02:52:51 -04:00 committed by GitHub
parent 980d6abbea
commit 23852404ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -421,8 +421,8 @@ class HTTPClient:
embed: Optional[embed.Embed] = None,
embeds: Optional[List[embed.Embed]] = None,
nonce: Optional[str] = None,
allowed_mentions: bool = None,
message_reference: bool = None,
allowed_mentions: Optional[message.AllowedMentions] = None,
message_reference: Optional[message.MessageReference] = None,
components: Optional[List[components.Component]] = None,
) -> Response[message.Message]:
r = Route('POST', '/channels/{channel_id}/messages', channel_id=channel_id)