Skip to main content

Class ShardedCommandContext

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

Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class ShardedCommandContext : SocketCommandContext, ICommandContext

Properties​

Client​

Gets the Discord.WebSocket.DiscordShardedClient that the command is executed with.

View Source​
Declaration
public DiscordShardedClient Client { get; }

ICommandContext.Client​

Gets the Discord.IDiscordClient that the command is executed with.

View Source​
Declaration
IDiscordClient ICommandContext.Client { get; }

Implements​