From 97fc3788cc02aa936fcde62953022257fe314a94 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Sat, 6 Jun 2020 01:06:16 +0200 Subject: Updated the channel fields --- cogs/logs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/logs.py b/cogs/logs.py index cd55c36..b85730f 100644 --- a/cogs/logs.py +++ b/cogs/logs.py @@ -17,7 +17,7 @@ class Logs(commands.Cog): embed.add_field( name='User', value=message.author.mention, inline=True) embed.add_field( - name='Channel', value=message.channel.name, inline=True) + name='Channel', value=message.channel.mention, inline=True) embed.add_field(name='Message', value=message.content, inline=False) await channel.send(embed=embed) @@ -32,7 +32,7 @@ class Logs(commands.Cog): embed.add_field( name='User', value=before.author.mention, inline=True) embed.add_field( - name='Channel', value=before.channel.name, inline=True) + name='Channel', value=before.channel.mention, inline=True) embed.add_field(name='Original Message', value=before.content, inline=False) embed.add_field(name='New Message', value=after.content, inline=False) -- cgit v1.2.3