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
  • run?:function
    • Parameters

      • context: CommandContext | SlashCommandContext

      Returns void

Generated using TypeDoc