WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 5cb61ecd65 - Show all commits

View file

@ -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 = (