fix(aurora): awaited a coroutine

This commit is contained in:
Seaswimmer 2024-06-05 01:39:34 -04:00
parent 9622e037c9
commit 5cb61ecd65
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -1506,7 +1506,7 @@ class Aurora(commands.Cog):
user = self.bot.get_user(moderation.target_id)
if user is None:
try:
user = self.bot.fetch_user(moderation.target_id)
user = await self.bot.fetch_user(moderation.target_id)
except discord.errors.NotFound:
continue
name = (