Browse Source

Fix Messageable.send overload to take view parameters

pull/6995/head
Rapptz 4 years ago
parent
commit
695662416a
  1. 3
      discord/abc.py

3
discord/abc.py

@ -63,6 +63,7 @@ if TYPE_CHECKING:
from .embeds import Embed
from .message import Message, MessageReference
from .enums import InviteTarget
from .ui.view import View
SnowflakeTime = Union["Snowflake", datetime]
@ -1147,6 +1148,7 @@ class Messageable(Protocol):
allowed_mentions: AllowedMentions = ...,
reference: Union[Message, MessageReference] = ...,
mention_author: bool = ...,
view: View = ...,
) -> Message:
...
@ -1163,6 +1165,7 @@ class Messageable(Protocol):
allowed_mentions: AllowedMentions = ...,
reference: Union[Message, MessageReference] = ...,
mention_author: bool = ...,
view: View = ...,
) -> Message:
...

Loading…
Cancel
Save