aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <57815710+Mango0x45@users.noreply.github.com>2020-06-05 23:06:16 +0000
committerGitHub <noreply@github.com>2020-06-05 23:06:16 +0000
commit97fc3788cc02aa936fcde62953022257fe314a94 (patch)
tree8ee759255aade74dc1d844e6eaed59c4462cfda3
parentb230326e900b4ea868fdc00adbc0f9c2a611e45d (diff)
downloadsteve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar.gz
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar.bz2
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar.lz
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar.xz
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.tar.zst
steve-bot-97fc3788cc02aa936fcde62953022257fe314a94.zip
Updated the channel fields
-rw-r--r--cogs/logs.py4
1 files 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)