Search Results for

    Show / Hide Table of Contents

    Class SlashCommandExecutedEventArgs

    Represents the arguments for a SlashCommandExecuted event

    Inheritance
    System.Object
    System.EventArgs
    AsyncEventArgs
    DiscordEventArgs
    SlashCommandExecutedEventArgs
    Inherited Members
    DiscordEventArgs.ServiceProvider
    AsyncEventArgs.Handled
    Namespace: DisCatSharp.ApplicationCommands.EventArgs
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    public class SlashCommandExecutedEventArgs : DiscordEventArgs

    Constructors

    | Improve this Doc View Source

    SlashCommandExecutedEventArgs(IServiceProvider)

    Initializes a new instance of the SlashCommandExecutedEventArgs class.

    Declaration
    public SlashCommandExecutedEventArgs(IServiceProvider provider)
    Parameters
    Type Name Description
    System.IServiceProvider provider

    The provider.

    Properties

    | Improve this Doc View Source

    Context

    The context of the command.

    Declaration
    public InteractionContext Context { get; }
    Property Value
    Type Description
    InteractionContext

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems