export interface GatewayMessageEventExtraFieldsoptionalguild_id? : Snowflake
ID of the guild the message was sent in
optionalmember? : Omit<APIGuildMember, 'user'>
Member properties for this message's authorThe member object exists in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels
See also: https://discord.com/developers/docs/resources/guild#guild-member-objectundefined
mentions : (APIUser & { member?: Omit<APIGuildMember, 'user'>; })[]
Users specifically mentioned in the messageThe member field is only present in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels
See also: https://discord.com/developers/docs/resources/user#user-objectundefinedhttps://discord.com/developers/docs/resources/guild#guild-member-objectundefined