mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
don't under-report guild counts
This commit is contained in:
parent
2a73585dfd
commit
7c353e797b
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue