mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +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();
|
var shardTotal = shards.Count();
|
||||||
int shardClusterTotal = ctx.Cluster.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
|
embed
|
||||||
.Field(new Embed.Field("Current shard",
|
.Field(new Embed.Field("Current shard",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue