Fix embed color
This commit is contained in:
parent
44ddfbed01
commit
2cdc6d1575
@ -43,7 +43,7 @@ class Leaver(Cog):
|
||||
channel = guild.get_channel(channel)
|
||||
out = "{}{} has left the server".format(member, member.nick if member.nick is not None else "")
|
||||
if await self.bot.embed_requested(channel, member):
|
||||
await channel.send(embed=discord.Embed(description=out, color=self.bot.color))
|
||||
await channel.send(embed=discord.Embed(description=out, color=self.bot.get_embed_color(channel)))
|
||||
else:
|
||||
await channel.send(out)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user