use before_ and after_content where they were intended to be used
This commit is contained in:
parent
623f841faa
commit
19408cd163
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class Logs(Cog):
|
||||||
msg = "📝 **Message edit**: \n"\
|
msg = "📝 **Message edit**: \n"\
|
||||||
f"from {self.bot.escape_message(after.author.name)} "\
|
f"from {self.bot.escape_message(after.author.name)} "\
|
||||||
f"({after.author.id}), in {after.channel.mention}:\n"\
|
f"({after.author.id}), in {after.channel.mention}:\n"\
|
||||||
f"```{before.clean_content}``` → ```{after.clean_content}```"
|
f"```{before_content}``` → ```{after_content}```"
|
||||||
|
|
||||||
# If resulting message is too long, upload to hastebin
|
# If resulting message is too long, upload to hastebin
|
||||||
if len(msg) > 2000:
|
if len(msg) > 2000:
|
||||||
|
|
Loading…
Reference in a new issue