await usings and minor cleanup

This commit is contained in:
Kwoth
2021-12-20 03:02:02 +01:00
parent 1b2017024c
commit da2ee0c158
55 changed files with 176 additions and 174 deletions

View File

@@ -155,7 +155,7 @@ public class ReplacementBuilder
_reps.TryAdd("%users%", () => c.Guilds.Sum(g => g.MemberCount).ToString());
/*NEW*/
_reps.TryAdd("%shard.servercount%", () => c.Guilds.Count.ToString());S
_reps.TryAdd("%shard.servercount%", () => c.Guilds.Count.ToString());
_reps.TryAdd("%shard.usercount%", () => c.Guilds.Sum(g => g.MemberCount).ToString());
_reps.TryAdd("%shard.id%", () => c.ShardId.ToString());
return this;