Skip to main content
Module

x/arcscord/mod.ts>ApplicationCommand

A Discord client written in typescript
Latest
class ApplicationCommand
extends Base
Re-export
import { ApplicationCommand } from "https://deno.land/x/arcscord@v0.3.0-beta/mod.ts";

Constructors

new
ApplicationCommand(client: Client, data: { [index: string]: any; })

Properties

data: { [index: string]: any; }
defaultPermission: boolean

if the command is enable by default on add guild

description: string

the description of the command

guild: Guild | null

the guild of the command (is null for global commands)

the id of the command

name: string

the name of the command

options: ApplicationCommandOption[] | null

the options of the command