mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -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):
|
async def _get_embed_colour(self, channel: discord.abc.GuildChannel):
|
||||||
# Unfortunately we need this for when context is unavailable.
|
# 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
|
return channel.guild.me.color
|
||||||
else:
|
else:
|
||||||
return self.bot.color
|
return self.bot.color
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user