Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PermissionGuildCommandInit

Initialization options of base guild-scoped command with attached permisisions

interface

Hierarchy

Index

Properties

Optional announceSuccess

announceSuccess?: boolean

Whether to send a built-in success message when the command has completed (if no other response is defined)

Optional default_permission

default_permission?: boolean

Discord API default permission

Optional dm

dm?: boolean

Whether this command should be callable using private messages with bot

Optional function

function?: CommandFunction

Command function (will be executed when calling a command)

Optional guilds

guilds?: string[]

List of Guild IDs in which the command can be called

name

name: string

Command name

Optional permissions

Object with permissions' options and resolvables

Generated using TypeDoc