Fix references to wrong client type

This commit is contained in:
Ske 2019-07-15 17:17:57 +02:00
parent 1f3b0c6de6
commit 4198a493e4

View File

@ -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;
}