Fix embed color

pull/84/head
bobloy 5 years ago
parent 44ddfbed01
commit 2cdc6d1575

@ -43,7 +43,7 @@ class Leaver(Cog):
channel = guild.get_channel(channel) channel = guild.get_channel(channel)
out = "{}{} has left the server".format(member, member.nick if member.nick is not None else "") out = "{}{} has left the server".format(member, member.nick if member.nick is not None else "")
if await self.bot.embed_requested(channel, member): 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: else:
await channel.send(out) await channel.send(out)
else: else:

Loading…
Cancel
Save