fix(aurora): use guild color instead of bot color for handle_expiry
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 24s
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 24s
This commit is contained in:
parent
6d8b99cf76
commit
826d76253d
1 changed files with 1 additions and 1 deletions
|
@ -965,7 +965,7 @@ class Aurora(commands.Cog):
|
||||||
try:
|
try:
|
||||||
await guild.unban(user, reason=f"Automatic unban from case #{moderation_id}")
|
await guild.unban(user, reason=f"Automatic unban from case #{moderation_id}")
|
||||||
|
|
||||||
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')
|
embed = await embed_factory('message', await self.bot.get_embed_color(guild.channels[0]), guild=guild, reason=f'Automatic unban from case #{moderation_id}', moderation_type='unbanned')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await user.send(embed=embed)
|
await user.send(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue