Latest
interface DiscordInteraction
import { type DiscordInteraction } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

id: string

Id of the interaction

application_id: string

Id of the application this interaction is for

The type of interaction

optional
guild_id: string

The guild it was sent from

optional
channel_id: string

The channel it was sent from

optional
member: DiscordInteractionMember

Guild member data for the invoking user, including permissions

optional
user: DiscordUser

User object for the invoking user, if invoked in a DM

token: string

A continuation token for responding to the interaction

version: 1

Read-only property, always 1

optional
message: DiscordMessage

For the message the button was attached to

the command data payload

optional
locale: string

The selected language of the invoking user

optional
guild_locale: string

The guild's preferred locale, if invoked in a guild

app_permissions: string

The computed permissions for a bot or app in the context of a specific interaction (including channel overwrites)

import DiscordInteraction
import { DiscordInteraction } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";