mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 08:41:25 +03:00
Replace emoji names with unicode characters
...to fix emoji in emebds for web archives
This commit is contained in:
@@ -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()]
|
||||
|
Reference in New Issue
Block a user