Search Results for

    Show / Hide Table of Contents

    Namespace DisCatSharp.ApplicationCommands.Attributes

    Classes

    ApplicationCommandRequireBotPermissionsAttribute

    Defines that usage of this application command is only possible when the bot is granted a specific permission.

    ApplicationCommandRequireDirectMessageAttribute

    Defines that this application command is only usable within a direct message channel.

    ApplicationCommandRequireDisCatSharpDeveloperAttribute

    Defines that this application command is restricted to the owner of the bot.

    ApplicationCommandRequireGuildAttribute

    Defines that this application command is only usable within a guild.

    ApplicationCommandRequireNsfwAttribute

    Defines that this application command is only usable within a guild.

    ApplicationCommandRequireOwnerAttribute

    Defines that this application command is restricted to the owner of the bot.

    ApplicationCommandRequireOwnerOrIdAttribute

    Requires ownership of the bot or a whitelisted id to execute this command.

    ApplicationCommandRequirePermissionsAttribute

    Defines that usage of this application command is restricted to members with specified permissions. This check also verifies that the bot has the same permissions.

    ApplicationCommandRequireUserPermissionsAttribute

    Defines that usage of this application command is restricted to members with specified permissions.

    AutocompleteAttribute

    The autocomplete attribute.

    ChannelTypesAttribute

    Defines allowed channel types for a channel parameter.

    MaximumAttribute

    Sets a maximum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    MinimumAttribute

    Sets a minimum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    Interfaces

    IAutocompleteProvider

    The autocomplete provider.

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