export interface GatewayMessageEventExtraFields
https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields
optionalexternalSnowflake guild_id? :
ID of the guild the message was sent in
optionalexternalOmit<APIGuildMember, 'user'> member? :
Member properties for this message's authorThe member object exists in MESSAGE_CREATE
and MESSAGE_UPDATE
events from text-based guild channelsSee https://discord.com/developers/docs/resources/guild#guild-member-object
external(APIUser & { member?: Omit<APIGuildMember, 'user'>; })[] mentions :
Users specifically mentioned in the messageThe member
field is only present in MESSAGE_CREATE
and MESSAGE_UPDATE
events from text-based guild channelsSee https://discord.com/developers/docs/resources/user#user-object See https://discord.com/developers/docs/resources/guild#guild-member-object