Search Results for

    Show / Hide Table of Contents

    Interface IComponentInfo

    Contains all the information about a component.

    Namespace: Color_Chan.Discord.Commands.Models.Info
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public interface IComponentInfo

    Properties

    | Improve this Doc View Source

    Acknowledge

    Whether or not the component interaction should be automatically acknowledge to prevent the token from turning inactive after 3 seconds.

    Declaration
    bool Acknowledge { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    ComponentMethod

    The System.Reflection.MethodInfo containing the method of the component.

    Declaration
    MethodInfo ComponentMethod { get; set; }
    Property Value
    Type Description
    System.Reflection.MethodInfo
    | Improve this Doc View Source

    CustomId

    The custom ID of the component.

    Declaration
    string CustomId { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    EditOriginalMessage

    Whether or not the original message of the component should be edited with the returned response.

    Declaration
    bool EditOriginalMessage { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    ParentModule

    The component module containing the ComponentMethod.

    Declaration
    TypeInfo ParentModule { get; set; }
    Property Value
    Type Description
    System.Reflection.TypeInfo
    | Improve this Doc View Source

    Requirements

    A System.Collections.Generic.IEnumerable<T> of InteractionRequirementAttributes containing all the requirements to execute the component.

    Declaration
    IEnumerable<InteractionRequirementAttribute> Requirements { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<InteractionRequirementAttribute>
    | Improve this Doc View Source

    Type

    The type of the component.

    Declaration
    DiscordComponentType Type { get; set; }
    Property Value
    Type Description
    DiscordComponentType
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX