mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix build error in Misc.cs
This commit is contained in:
parent
6d1fd0e267
commit
0afe031284
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue