Skip to content

Commit 590da41

Browse files
authored
fix missing await (#46)
1 parent bcb88c0 commit 590da41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def logging_loop(self) -> None:
7373
if not avatar_url and self.user is not None and "runner" in core.CONFIG["LOGGING"]:
7474
runner_id: int = core.CONFIG["LOGGING"]["runner"]
7575
try:
76-
user = self.user or self.bot.get_or_fetch_user(runner_id)
76+
user = self.user or await self.bot.get_or_fetch_user(runner_id)
7777
except:
7878
self.user = user = None # This will tell us not to attempt again.
7979

0 commit comments

Comments
 (0)