From 0afe031284a09ba1d81f888d6d33c64f1d465009 Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 14 Jan 2022 21:51:43 -0500 Subject: [PATCH] fix build error in Misc.cs --- PluralKit.Bot/Commands/Misc.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Commands/Misc.cs b/PluralKit.Bot/Commands/Misc.cs index d03c3573..311d3f46 100644 --- a/PluralKit.Bot/Commands/Misc.cs +++ b/PluralKit.Bot/Commands/Misc.cs @@ -71,10 +71,10 @@ public class Misc var counts = await _repo.GetStats(); - var shardId = ctx.Shard.ShardId; + var shardId = ctx.ShardId; var shardTotal = ctx.Cluster.Shards.Count; var shardUpTotal = _shards.Shards.Where(x => x.Connected).Count(); - var shardInfo = _shards.GetShardInfo(ctx.Shard); + var shardInfo = _shards.GetShardInfo(ctx.ShardId); var process = Process.GetCurrentProcess(); var memoryUsage = process.WorkingSet64;