Fix Messageable.send overload to take view parameters
This commit is contained in:
parent
c21d12be5e
commit
695662416a
@ -63,6 +63,7 @@ if TYPE_CHECKING:
|
|||||||
from .embeds import Embed
|
from .embeds import Embed
|
||||||
from .message import Message, MessageReference
|
from .message import Message, MessageReference
|
||||||
from .enums import InviteTarget
|
from .enums import InviteTarget
|
||||||
|
from .ui.view import View
|
||||||
|
|
||||||
SnowflakeTime = Union["Snowflake", datetime]
|
SnowflakeTime = Union["Snowflake", datetime]
|
||||||
|
|
||||||
@ -1147,6 +1148,7 @@ class Messageable(Protocol):
|
|||||||
allowed_mentions: AllowedMentions = ...,
|
allowed_mentions: AllowedMentions = ...,
|
||||||
reference: Union[Message, MessageReference] = ...,
|
reference: Union[Message, MessageReference] = ...,
|
||||||
mention_author: bool = ...,
|
mention_author: bool = ...,
|
||||||
|
view: View = ...,
|
||||||
) -> Message:
|
) -> Message:
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -1163,6 +1165,7 @@ class Messageable(Protocol):
|
|||||||
allowed_mentions: AllowedMentions = ...,
|
allowed_mentions: AllowedMentions = ...,
|
||||||
reference: Union[Message, MessageReference] = ...,
|
reference: Union[Message, MessageReference] = ...,
|
||||||
mention_author: bool = ...,
|
mention_author: bool = ...,
|
||||||
|
view: View = ...,
|
||||||
) -> Message:
|
) -> Message:
|
||||||
...
|
...
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user