Search Results for

    Show / Hide Table of Contents

    Namespace DisCatSharp.ApplicationCommands

    Classes

    ApplicationCommandModuleLifespanAttribute

    Defines this application command module's lifespan. Module lifespans are transient by default.

    ApplicationCommandsConfiguration

    A configuration for a ApplicationCommandsExtension

    ApplicationCommandsExtension

    A class that handles slash commands for a client.

    ApplicationCommandsModule

    Represents a base class for application command modules

    ApplicationCommandsTranslationContext

    The application commands translation context.

    AutocompleteContext

    Represents a context for an autocomplete interaction.

    BaseContext

    Represents a base context for application command contexts.

    ChoiceAttribute

    Adds a choice for this slash command option

    ChoiceNameAttribute

    Sets the name for this enum choice.

    ChoiceProvider

    Implementation of IChoiceProvider with access to service collection.

    ChoiceProviderAttribute

    Sets a IChoiceProvider for a command options. ChoiceProviders can be used to provide DiscordApplicationCommandOptionChoice from external sources such as a database.

    ContextMenuAttribute

    Marks this method as a context menu.

    ContextMenuCheckBaseAttribute

    The base class for a pre-execution check for a context menu.

    ContextMenuContext

    Represents a context for a context menu.

    ContextMenuExecutionChecksFailedException

    Thrown when a pre-execution check for a context menu command fails.

    DontInjectAttribute

    Prevents this field or property from having its value injected by dependency injection.

    ExtensionMethods

    Defines various extension methods for application commands.

    InteractionContext

    Represents a context for an interaction.

    OptionAttribute

    Marks this parameter as an option for a slash command

    SlashCheckBaseAttribute

    The base class for a pre-execution check for a application command.

    SlashCommandAttribute

    Marks this method as a slash command

    SlashCommandGroupAttribute

    Marks this class a slash command group

    SlashExecutionChecksFailedException

    Thrown when a pre-execution check for a slash command fails.

    Interfaces

    IChoiceProvider

    All choice providers must inherit from this interface

    Enums

    ApplicationCommandModuleLifespan

    Represents a application command module lifespan.

    In This Article
    Back to top © 2021-2022 Aiko IT Systems