From 4198a493e42c45db2b23d92aaff4032f244eac08 Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 15 Jul 2019 17:17:57 +0200 Subject: [PATCH] Fix references to wrong client type --- PluralKit.Bot/Utils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Utils.cs b/PluralKit.Bot/Utils.cs index 62c1dffd..911797df 100644 --- a/PluralKit.Bot/Utils.cs +++ b/PluralKit.Bot/Utils.cs @@ -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; }