import { type GatewayMessageEventExtraFields } from "https://deno.land/x/discord_api_types@0.37.81/v9.ts";
Properties
optional
guild_id: SnowflakeID of the guild the message was sent in
optional
member: APIGuildMemberMember 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: (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