mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Message.edit typings to take View parameters
This commit is contained in:
parent
7bd1211b36
commit
02c317d9a4
@ -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:
|
||||
...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user