Replace emoji names with unicode characters

...to fix emoji in emebds for web archives
This commit is contained in:
Isaac (eartharoid)
2020-11-20 23:50:08 +00:00
parent aab1b4a81a
commit f572523e4b
15 changed files with 53 additions and 53 deletions

View File

@@ -40,7 +40,7 @@ module.exports.add = (message) => {
fs.appendFileSync(join(__dirname, raw), JSON.stringify({
id: message.id,
author: message.author.id,
content: message.content, // do not use cleanContent!
content: message.content, // do not use cleanContent, we want to include the mentions!
time: message.createdTimestamp,
embeds: embeds,
attachments: [...message.attachments.values()]