Skip to main content
Version: 0.37.43

GatewayMessageEventExtraFields

Index

Properties

optionalguild_id

guild_id?: string

ID of the guild the message was sent in

optionalmember

Member properties for this message’s author

The member object exists in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels

See https://discord.com/developers/docs/resources/guild#guild-member-object

mentions

mentions: (APIUser & { member?: Omit<APIGuildMember, user> })[]

Users specifically mentioned in the message

The member field is only present in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels

See https://discord.com/developers/docs/resources/user#user-object See https://discord.com/developers/docs/resources/guild#guild-member-object