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 .state import ConnectionState
|
||||||
from .channel import TextChannel, GroupChannel, DMChannel
|
from .channel import TextChannel, GroupChannel, DMChannel
|
||||||
from .mentions import AllowedMentions
|
from .mentions import AllowedMentions
|
||||||
|
from .ui.view import View
|
||||||
|
|
||||||
EmojiInputType = Union[Emoji, PartialEmoji, str]
|
EmojiInputType = Union[Emoji, PartialEmoji, str]
|
||||||
|
|
||||||
@ -1100,6 +1101,7 @@ class Message(Hashable):
|
|||||||
suppress: bool = ...,
|
suppress: bool = ...,
|
||||||
delete_after: Optional[float] = ...,
|
delete_after: Optional[float] = ...,
|
||||||
allowed_mentions: Optional[AllowedMentions] = ...,
|
allowed_mentions: Optional[AllowedMentions] = ...,
|
||||||
|
view: Optional[View] = ...,
|
||||||
) -> None:
|
) -> None:
|
||||||
...
|
...
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user