Add discord.types.Message.interaction attribute
This commit is contained in:
parent
a31c19563f
commit
e405bd5f1f
@ -31,6 +31,7 @@ from .user import User
|
||||
from .emoji import PartialEmoji
|
||||
from .embed import Embed
|
||||
from .channel import ChannelType
|
||||
from .interactions import MessageInteraction
|
||||
|
||||
|
||||
class ChannelMention(TypedDict):
|
||||
@ -116,6 +117,7 @@ class _MessageOptional(TypedDict, total=False):
|
||||
flags: int
|
||||
stickers: List[Sticker]
|
||||
referenced_message: Optional[Message]
|
||||
interaction: MessageInteraction
|
||||
|
||||
|
||||
MessageType = Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 19, 20]
|
||||
|
Loading…
x
Reference in New Issue
Block a user