mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 20:15:30 +00:00
use before_ and after_content where they were intended to be used
This commit is contained in:
parent
623f841faa
commit
19408cd163
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue