Search Results for

    Show / Hide Table of Contents

    Class ComponentContext

    The context for all component interactions.

    Inheritance
    System.Object
    InteractionContext
    ComponentContext
    Implements
    IComponentContext
    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 ComponentContext : InteractionContext, IComponentContext, IInteractionContext

    Properties

    | Improve this Doc View Source

    Args

    The arguments embedded in the CustomId

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

    Implements

    IComponentContext
    IInteractionContext

    Extension Methods

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