import { type CommandOptions } from "https://deno.land/x/harmony@v2.8.0/src/commands/mod.ts";
Properties
optional
extension: ExtensionExtension (Parent) of the Command
Usage Example of Command, only Arguments (without Prefix and Name)
Make arguments optional. Eg: Don't require any args to be present to execute the command. default: false
optional
args: Args[]Does the Command take Arguments? Maybe number of required arguments? Or list of arguments?
Permissions(s) required by both User and Bot in order to use Command
Role(s) user will require in order to use Command. List or one of ID or name
Whitelisted Guilds. Only these Guild(s) can execute Command. (List or one of IDs)
Whitelisted Channels. Command can be executed only in these channels. (List or one of IDs)
Whitelisted Users. Command can be executed only by these Users (List or one of IDs)
optional
subCommands: CommandOptions[]Sub Commands