Fix references to wrong client type
This commit is contained in:
parent
1f3b0c6de6
commit
4198a493e4
@ -169,13 +169,13 @@ namespace PluralKit.Bot
|
||||
}
|
||||
|
||||
/// Subclass of ICommandContext with PK-specific additional fields and functionality
|
||||
public class PKCommandContext : SocketCommandContext
|
||||
public class PKCommandContext : ShardedCommandContext
|
||||
{
|
||||
public PKSystem SenderSystem { get; }
|
||||
|
||||
private object _entity;
|
||||
|
||||
public PKCommandContext(DiscordSocketClient client, SocketUserMessage msg, PKSystem system) : base(client, msg)
|
||||
public PKCommandContext(DiscordShardedClient client, SocketUserMessage msg, PKSystem system) : base(client, msg)
|
||||
{
|
||||
SenderSystem = system;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user