From c78a953690babb963e1f6f51da8feb07af1dcc47 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 11 Sep 2020 14:09:38 +0100 Subject: [PATCH] Added author to channel updates --- cogs/moderation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/moderation.py b/cogs/moderation.py index a9a4682e..cddf04b6 100644 --- a/cogs/moderation.py +++ b/cogs/moderation.py @@ -880,6 +880,7 @@ class Moderation(Cog): description=f"**ID -->** {after.id}", colour=self.bot.admin_colour, timestamp=datetime.datetime.utcnow()) + embed.set_author(name=after.guild, icon_url=after.guild.icon_url) embed.set_footer(text="Channel Updated") # Add fields to the embed @@ -1063,7 +1064,7 @@ class Moderation(Cog): if b.name != a.name: animated = self.bot.tick if a.animated else self.bot.cross managed = self.bot.tick if a.managed else self.bot.cross - + embed = Embed(title="Emoji Name Updated", description=f"**ID -->** {a.id}" f"\n**Name -->** {a.name}"