Skip to content

Commit

Permalink
fix missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmTomahawkx committed Jul 25, 2023
1 parent bcb88c0 commit 193a76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def logging_loop(self) -> None:
if not avatar_url and self.user is not None and "runner" in core.CONFIG["LOGGING"]:
runner_id: int = core.CONFIG["LOGGING"]["runner"]
try:
user = self.user or self.bot.get_or_fetch_user(runner_id)
user = self.user or await self.bot.get_or_fetch_user(runner_id)
except:
self.user = user = None # This will tell us not to attempt again.

Expand Down

0 comments on commit 193a76c

Please sign in to comment.