use before_ and after_content where they were intended to be used

This commit is contained in:
Jan200101 2020-04-21 12:58:17 +02:00
parent 623f841faa
commit 19408cd163
No known key found for this signature in database
GPG key ID: 5B71B1D78B882E05

View file

@ -219,7 +219,7 @@ class Logs(Cog):
msg = "📝 **Message edit**: \n"\
f"from {self.bot.escape_message(after.author.name)} "\
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 len(msg) > 2000: