WIP: Refactor Aurora (3.0.0) #29
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