don't under-report guild counts

This commit is contained in:
io mintz 2020-10-08 02:48:37 +00:00
parent 2a73585dfd
commit 7c353e797b
1 changed files with 2 additions and 1 deletions

View File

@ -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):