Added author to channel updates

pull/9/head
sgoudham 4 years ago
parent df892bfb2b
commit c78a953690

@ -880,6 +880,7 @@ class Moderation(Cog):
description=f"**ID -->** {after.id}", description=f"**ID -->** {after.id}",
colour=self.bot.admin_colour, colour=self.bot.admin_colour,
timestamp=datetime.datetime.utcnow()) timestamp=datetime.datetime.utcnow())
embed.set_author(name=after.guild, icon_url=after.guild.icon_url)
embed.set_footer(text="Channel Updated") embed.set_footer(text="Channel Updated")
# Add fields to the embed # Add fields to the embed

Loading…
Cancel
Save