From e0418743a4fea01fe7680c38f8a7c194df31922b Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 29 Jul 2020 13:50:39 +0100 Subject: [PATCH] Added colour to confirmation embed --- cogs/moderation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cogs/moderation.py b/cogs/moderation.py index 061fbd32..2bc05f47 100644 --- a/cogs/moderation.py +++ b/cogs/moderation.py @@ -29,7 +29,8 @@ async def ban_members(message, targets, reason): await target.ban(reason=reason) await message.delete() - embed = Embed(description="✅ **{}** Was Banned! ✅".format(target)) + embed = Embed(description="✅ **{}** Was Banned! ✅".format(target), + colour=enso_embedmod_colours) await message.channel.send(embed=embed) # Get the channel of the modlog within the guild @@ -78,7 +79,8 @@ async def kick_members(message, targets, reason): await target.kick(reason=reason) await message.delete() - embed = Embed(description="✅ **{}** Was Kicked! ✅".format(target)) + embed = Embed(description="✅ **{}** Was Kicked! ✅".format(target), + colour=enso_embedmod_colours) await message.channel.send(embed=embed) # Get the channel of the modlog within the guild