Skip to content

Commit

Permalink
[FreeloaderMode] fix tempban expiration task
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Dec 29, 2023
1 parent 568e7e1 commit d427c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freeloadermode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ async def _check_guild_tempban_expirations(
return changed

async def _check_tempban_expirations(self) -> None:
guilds_data: Dict[int, Dict[str, Any]] = await self.config.all_guild()
guilds_data: Dict[int, Dict[str, Any]] = await self.config.all_guilds()
async for guild_id, guild_data in AsyncIter(guilds_data.items(), steps=100):
if not (guild := self.bot.get_guild(guild_id)):
continue
Expand Down

0 comments on commit d427c21

Please sign in to comment.