Search Results for

    Show / Hide Table of Contents

    Class SocketMessageCommandData

    Represents the data tied with the SocketMessageCommand interaction.

    Inheritance
    Object
    SocketEntity<UInt64>
    SocketCommandBaseData<IApplicationCommandInteractionDataOption>
    SocketCommandBaseData
    SocketMessageCommandData
    Implements
    IEntity<UInt64>
    IMessageCommandInteractionData
    IApplicationCommandInteractionData
    IDiscordInteractionData
    Inherited Members
    SocketCommandBaseData<IApplicationCommandInteractionDataOption>.Name
    SocketEntity<UInt64>.Id
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketMessageCommandData : SocketCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData

    Properties

    | Improve this Doc View Source

    Message

    Gets the message associated with this message command.

    Declaration
    public SocketMessage Message { get; }
    Property Value
    Type Description
    SocketMessage
    | Improve this Doc View Source

    Options

    Gets the TOption received with this interaction.

    Declaration
    public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
    Property Value
    Type Description
    IReadOnlyCollection<IApplicationCommandInteractionDataOption>
    Overrides
    Discord.WebSocket.SocketCommandBaseData<Discord.IApplicationCommandInteractionDataOption>.Options
    Remarks

    Note Not implemented for SocketMessageCommandData

    Explicit Interface Implementations

    | Improve this Doc View Source

    IMessageCommandInteractionData.Message

    Gets the message associated with this message command.

    Declaration
    IMessage IMessageCommandInteractionData.Message { get; }
    Returns
    Type Description
    IMessage

    Implements

    IEntity<TId>
    IMessageCommandInteractionData
    IApplicationCommandInteractionData
    IDiscordInteractionData

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2