class ApplicationCommandBuilder
implements CreateApplicationCommand
Abstract
import { ApplicationCommandBuilder } from "https://deno.land/x/oasis@2.1.0/packages/builders/mod.ts";
Constructors
new
protected
ApplicationCommandBuilder(type?: ApplicationCommandTypes,
name?,
description?,
defaultMemberPermissions?: PermissionStrings[],
nameLocalizations?: Localization,
descriptionLocalizations?: Localization,
dmPermission?,
Methods
setDescription(description: string)
setDmPermission(perm: boolean)
setName(name: string)
setType(type: ApplicationCommandTypes)