mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-22 13:23:42 +12:00
forgot to add this, causes errors on bot startup
This commit is contained in:
parent
efbefebe5f
commit
349d9436d3
|
@ -24,6 +24,7 @@ class Markov(commands.Cog):
|
|||
asyncio.create_task(self.config.guild(guild).model.set(self.cache[guild.id]["model"]))
|
||||
|
||||
async def init(self):
|
||||
await self.bot.wait_until_ready()
|
||||
# caches all the models, uses more ram but bot
|
||||
# slows down once file gets big otherwise
|
||||
for guild in self.bot.guilds:
|
||||
|
|
Loading…
Reference in a new issue