Type alias commandOptions
commandOptions: {
aliases?: string[];
guildOnly?: boolean;
name: Lowercase<string>;
permissions?: {
bot?: PermissionResolvable[];
user?: PermissionResolvable[];
};
render?: any;
run?: any;
}
Type declaration
-
Optional
aliases?: string[]
-
Optional
guildOnly?: boolean
-
name: Lowercase<string>
-
Optional
permissions?: {
bot?: PermissionResolvable[];
user?: PermissionResolvable[];
}
-
Optional
bot?: PermissionResolvable[]
-
Optional
user?: PermissionResolvable[]
-
render?:function
- render(context: CommandContext): void
-
Returns void
-
run?:function
- run(context: CommandContext | SlashCommandContext): void
-
Parameters
-
context: CommandContext | SlashCommandContext
Returns void
Deprecated
Replaced by run