diff --git a/src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs b/src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs index a983db792..a29c9bb70 100644 --- a/src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs +++ b/src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs @@ -2,7 +2,7 @@ namespace Discord.Commands { - public class ShardedCommandContext : SocketCommandContext + public class ShardedCommandContext : SocketCommandContext, ICommandContext { public new DiscordShardedClient Client { get; } @@ -14,5 +14,8 @@ namespace Discord.Commands private static int GetShardId(DiscordShardedClient client, IGuild guild) => guild == null ? 0 : client.GetShardIdFor(guild); + + //ICommandContext + IDiscordClient ICommandContext.Client => Client; } }