Class SharedSlashCommandOptions<TypeAfterAddingOptions>

This mixin holds symbols that can be shared in slash command options.

Type Parameters

  • TypeAfterAddingOptions extends SharedSlashCommandOptions<TypeAfterAddingOptions>

    The type this class should return after adding an option.

Hierarchy

Constructors

Properties

_sharedAddOptionMethod: any

Where the actual adding magic happens. ✨

Param

The input. What else?

Param

The instance of whatever is being added

Methods

  • Adds an attachment option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a boolean option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a channel option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds an integer option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a mentionable option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a number option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a role option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a string option.

    Parameters

    Returns TypeAfterAddingOptions

  • Adds a user option.

    Parameters

    Returns TypeAfterAddingOptions

Generated using TypeDoc