diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2020-06-05 23:06:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 23:06:16 +0000 |
commit | 97fc3788cc02aa936fcde62953022257fe314a94 (patch) | |
tree | 8ee759255aade74dc1d844e6eaed59c4462cfda3 | |
parent | b230326e900b4ea868fdc00adbc0f9c2a611e45d (diff) | |
download | steve-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.py | 4 |
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) |