Table of Contents

Class ShardedCommandContext

Namespace
Discord.Commands
Assembly
Discord.Net.WebSocket.dll

The sharded variant of ICommandContext, which may contain the client, user, guild, channel, and message.

public class ShardedCommandContext : SocketCommandContext, ICommandContext
Inheritance
ShardedCommandContext
Implements
Inherited Members

Constructors

ShardedCommandContext(DiscordShardedClient, SocketUserMessage)

public ShardedCommandContext(DiscordShardedClient client, SocketUserMessage msg)

Parameters

client DiscordShardedClient
msg SocketUserMessage

Properties

Client

Gets the DiscordShardedClient that the command is executed with.

public DiscordShardedClient Client { get; }

Property Value

DiscordShardedClient