try fix 4?

This commit is contained in:
Amazed 2020-09-01 00:13:00 +02:00
parent 62904417ec
commit 1361c4fc91

View File

@ -93,7 +93,7 @@ class WynncraftCog(commands.Cog):
last_status = {} last_status = {}
while self is self.bot.get_cog("WynncraftCog"): while self is self.bot.get_cog("WynncraftCog"):
await self._log("Looping guilds") await self._log("Looping guilds")
async for guild in self.bot.fetch_guilds(limit=150): for guild in self.bot.guilds:
roles_combat_level = await self.config.guild(guild).role_levels() roles_combat_level = await self.config.guild(guild).role_levels()
guild_id = guild.id guild_id = guild.id
await self._log("Loop id %s" % guild_id) await self._log("Loop id %s" % guild_id)