import { type DiscordenoInteraction } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";
Properties
optional
member: DiscordenoMemberGuild member data for the invoking user, including permissions
user: DiscordenoUser
User object for the invoking user, if invoked in a DM
optional
message: DiscordenoMessageFor the message the button was attached to
type: InteractionTypes
The type of interaction
optional
data: { componentType?: MessageComponentTypes; customId?: string; components?: MessageComponents; values?: string[]; id?: bigint; name?: string; resolved?: { messages?: Collection<bigint, DiscordenoMessage>; users?: Collection<bigint, DiscordenoUser>; members?: Collection<bigint, DiscordenoMember>; roles?: Collection<bigint, DiscordenoRole>; channels?: Collection<bigint, { id: bigint; name: string; type: ChannelTypes; permissions: bigint; }>; }; options?: InteractionDataOption[]; targetId?: bigint; }