Skip to content

Commit

Permalink
Fix incorrect typehint in send_message
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinume-chan authored Jul 21, 2021
1 parent 980d6ab commit 2385240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ def send_message(
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)
Expand Down

0 comments on commit 2385240

Please sign in to comment.