From 7c353e797b24a9ef9c8079be82b0722225553110 Mon Sep 17 00:00:00 2001 From: io mintz Date: Thu, 8 Oct 2020 02:48:37 +0000 Subject: [PATCH] don't under-report guild counts --- cogs/stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/stats.py b/cogs/stats.py index efdfa45..2ed58b1 100644 --- a/cogs/stats.py +++ b/cogs/stats.py @@ -71,7 +71,8 @@ class Stats(BotBinStats): @commands.Cog.listener() async def on_ready(self): self.count() - if self.is_reporter(): + all_shards_ready = all(self.shlist) + if self.is_reporter() and all_shards_ready: await self.send() def count(self):