mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[Audio] Fix for embed color (no, COLOUR) on notify messages (#2059)
This commit is contained in:
parent
f258e93cf7
commit
43b0a58649
@ -75,7 +75,7 @@ class Audio:
|
||||
|
||||
async def _get_embed_colour(self, channel: discord.abc.GuildChannel):
|
||||
# Unfortunately we need this for when context is unavailable.
|
||||
if await self.bot.db.guild(channel.guild).use_bot_colour():
|
||||
if await self.bot.db.guild(channel.guild).use_bot_color():
|
||||
return channel.guild.me.color
|
||||
else:
|
||||
return self.bot.color
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user