Skip to content

Interface: Command ​

Properties ​

description? ​

optional description?: string


id ​

id: string


name ​

name: string


options? ​

optional options?: Option[]

Methods ​

execute() ​

execute(options, props): void

Parameters ​

ParameterType
optionsany[]
props{ channel: Channel; guild?: Guild; }
props.channelChannel
props.guild?Guild

Returns ​

void


predicate()? ​

optional predicate(): boolean

Returns ​

boolean