fix(aurora): awaited a coroutine
This commit is contained in:
parent
9622e037c9
commit
5cb61ecd65
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ class Aurora(commands.Cog):
|
||||||
user = self.bot.get_user(moderation.target_id)
|
user = self.bot.get_user(moderation.target_id)
|
||||||
if user is None:
|
if user is None:
|
||||||
try:
|
try:
|
||||||
user = self.bot.fetch_user(moderation.target_id)
|
user = await self.bot.fetch_user(moderation.target_id)
|
||||||
except discord.errors.NotFound:
|
except discord.errors.NotFound:
|
||||||
continue
|
continue
|
||||||
name = (
|
name = (
|
||||||
|
|
Loading…
Reference in a new issue