Mentioning channel when it is created

pull/8/head
sgoudham 4 years ago
parent 25d233140c
commit 5a2539781a

@ -809,7 +809,7 @@ class Moderation(Cog):
modlogs_channel = self.bot.get_channel(modlogs) modlogs_channel = self.bot.get_channel(modlogs)
category = channel.category if channel.category else self.bot.cross category = channel.category if channel.category else self.bot.cross
desc = f"**Channel Created |** #{channel.name}\n" \ desc = f"**Channel Created |** {channel.mention}\n" \
f"**Category |** {category}\n" \ f"**Category |** {category}\n" \
f"**Position |** {channel.position}\n" f"**Position |** {channel.position}\n"
embed = Embed(description=desc, embed = Embed(description=desc,

Loading…
Cancel
Save