add .badges as a property instead of attr to Database cog
@@ -14,6 +14,10 @@ class Database(commands.Cog):
asyncio.create_task(self.populate_caches())
+ @property
+ def badges(self):
+ return self.bot.get_cog("Badges")
+
async def populate_caches(self): # initial caches for speeeeeed
# caches which need to be maintained cross-process *regardless*
self.bot.ban_cache = await self.fetch_all_botbans()
