diff options
| author | Rapptz <[email protected]> | 2021-05-30 00:00:24 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-05-30 00:00:24 -0400 |
| commit | 02c317d9a422f5de2ec324b967e93c3e2dd06cba (patch) | |
| tree | c9a14a8b7d73e5c6cad881501d3dfa33b9d3b46e /discord/message.py | |
| parent | Rework item grouping behaviour to take into consideration weights (diff) | |
| download | discord.py-02c317d9a422f5de2ec324b967e93c3e2dd06cba.tar.xz discord.py-02c317d9a422f5de2ec324b967e93c3e2dd06cba.zip | |
Fix Message.edit typings to take View parameters
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index 89e5dabe..5afbff71 100644 --- a/discord/message.py +++ b/discord/message.py @@ -67,6 +67,7 @@ if TYPE_CHECKING: from .state import ConnectionState from .channel import TextChannel, GroupChannel, DMChannel from .mentions import AllowedMentions + from .ui.view import View EmojiInputType = Union[Emoji, PartialEmoji, str] @@ -1100,6 +1101,7 @@ class Message(Hashable): suppress: bool = ..., delete_after: Optional[float] = ..., allowed_mentions: Optional[AllowedMentions] = ..., + view: Optional[View] = ..., ) -> None: ... |