Search Results for

    Show / Hide Table of Contents

    Class SlashCommandContext

    The context for a slash command.

    Inheritance
    System.Object
    InteractionContext
    SlashCommandContext
    Implements
    ISlashCommandContext
    IInteractionContext
    Inherited Members
    InteractionContext.Member
    InteractionContext.User
    InteractionContext.Message
    InteractionContext.Data
    InteractionContext.GuildId
    InteractionContext.ChannelId
    InteractionContext.ApplicationId
    InteractionContext.Token
    InteractionContext.InteractionId
    InteractionContext.MethodName
    InteractionContext.Guild
    InteractionContext.Channel
    InteractionContext.Permissions
    InteractionContext.Entitlements
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Commands.Models.Contexts
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public class SlashCommandContext : InteractionContext, ISlashCommandContext, IInteractionContext

    Properties

    | Improve this Doc View Source

    SlashCommandName

    The full slash command name.

    Declaration
    public IEnumerable<string> SlashCommandName { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    Implements

    ISlashCommandContext
    IInteractionContext

    Extension Methods

    InteractionContextExtensions.HasActiveEntitlement(IInteractionContext, UInt64)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX