Class ShardedCommandContext
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
DiscordShardedClientmsg
SocketUserMessage
Properties
Client
Gets the DiscordShardedClient that the command is executed with.
public DiscordShardedClient Client { get; }