Table of Contents

Class ShardedInteractionContext<TInteraction>

Namespace
Discord.Interactions
Assembly
Discord.Net.WebSocket.dll
public class ShardedInteractionContext<TInteraction> : SocketInteractionContext<TInteraction>, IRouteMatchContainer, IInteractionContext where TInteraction : SocketInteraction

Type Parameters

TInteraction
The sharded variant of .
Inheritance
ShardedInteractionContext<TInteraction>
Implements
Derived
Inherited Members

Constructors

ShardedInteractionContext(DiscordShardedClient, TInteraction)

public ShardedInteractionContext(DiscordShardedClient client, TInteraction interaction)

Parameters

client DiscordShardedClient

The underlying client.

interaction TInteraction

The underlying interaction.

Properties

Client

Gets the DiscordSocketClient that the command will be executed with.

public DiscordShardedClient Client { get; }

Property Value

DiscordShardedClient