fix(aurora): i am dense
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 41s

This commit is contained in:
Seaswimmer 2024-01-02 03:38:40 -05:00
parent 70eec9cc47
commit 78071ac475
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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)