diff --git a/aurora/aurora.py b/aurora/aurora.py index 017502f..3fd6345 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -970,7 +970,7 @@ class Aurora(commands.Cog): try: await guild.unban(user, reason=f"Automatic unban from case #{moderation_id}") - embed = await embed_factory('message', self.bot.get_embed_color(None), guild=guild, reason=f'Automatic unban from case #{moderation_id}', moderation_type='unbanned') + embed = await embed_factory('message', await self.bot.get_embed_color(None), guild=guild, reason=f'Automatic unban from case #{moderation_id}', moderation_type='unbanned') try: await user.send(embed=embed)