mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: remove LastConnection check in shardUpTotal
This commit is contained in:
parent
fc8f1b7cd3
commit
8a9148cd32
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ public class Misc
|
|||
|
||||
var shardTotal = shards.Count();
|
||||
int shardClusterTotal = ctx.Cluster.Shards.Count;
|
||||
var shardUpTotal = shards.Where(x => x.Up && now - x.LastConnection > 60).Count();
|
||||
var shardUpTotal = shards.Where(x => x.Up).Count();
|
||||
|
||||
embed
|
||||
.Field(new Embed.Field("Current shard",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue