mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 17:20:14 +00:00
Fix references to wrong client type
This commit is contained in:
parent
1f3b0c6de6
commit
4198a493e4
1 changed files with 2 additions and 2 deletions
|
|
@ -169,13 +169,13 @@ namespace PluralKit.Bot
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Subclass of ICommandContext with PK-specific additional fields and functionality
|
/// Subclass of ICommandContext with PK-specific additional fields and functionality
|
||||||
public class PKCommandContext : SocketCommandContext
|
public class PKCommandContext : ShardedCommandContext
|
||||||
{
|
{
|
||||||
public PKSystem SenderSystem { get; }
|
public PKSystem SenderSystem { get; }
|
||||||
|
|
||||||
private object _entity;
|
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;
|
SenderSystem = system;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue