mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 16:41:25 +03:00
fixed embeds in archive
This commit is contained in:
@@ -38,7 +38,8 @@ module.exports = {
|
||||
let path = `user/transcripts/raw/${n.channel.id}.log`;
|
||||
let embeds = [];
|
||||
for (let embed in n.embeds)
|
||||
embeds.push(n.embeds[embed].toJSON());
|
||||
// embeds.push(n.embeds[embed]); // n.embeds[embed].toJSON()
|
||||
embeds[embed] = { ...n.embeds[embed] };
|
||||
|
||||
fs.appendFileSync(path, JSON.stringify({
|
||||
id: n.id,
|
||||
|
Reference in New Issue
Block a user