Showing role mention in the description

pull/9/head
sgoudham 4 years ago
parent 8de5c8cb3f
commit 4079025c93

@ -1209,7 +1209,8 @@ class Moderation(Cog):
# Set up Embed # Set up Embed
embed = Embed(title=f"Role Updated", embed = Embed(title=f"Role Updated",
description=f"**ID -->** {after.id}", description=f"**Name --> {after.mention} |** @{after}"
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_author(name=after.guild, icon_url=after.guild.icon_url)

Loading…
Cancel
Save