#Command
implements ICommand
Creates a slash command.
#Import
#Constructor
#Properties
The name of the command.
Type: string
The description of the command.
Type: string
The options of the command.
Type: ICommandOptions[]
#.permissions Optional
The permissions required to use the command.
Type: bigint[]
#Methods
#.permCheck(bot
, interaction
) Optional
If it returns true the user can use the command, but if it returns false the command will not be executed.
Returns: Promise<boolean> | boolean
Example
#.noPerm(bot
, interaction
) Optional
This function is called if the user is not authorized to use the command.
Returns: Promise<any> | any
Example
Executed when the command is used.
Returns: Promise<any> | any
Example