Fix no newline

This commit is contained in:
Dragon Fire
2024-03-27 18:34:40 -04:00
parent e5961dab09
commit 7ec36589d8
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class GenerateCreditCommand extends Command {
}).join('\n');
})
.filter(cmds => cmds);
const file = Buffer.from(`# Credits\n## NPM Packages\n${npm}\n## Other Credits${list.join('\n')}`);
const file = Buffer.from(`# Credits\n## NPM Packages\n${npm}\n## Other Credits\n${list.join('\n')}`);
await msg.direct({ files: [{ attachment: file, name: 'credits.txt' }] });
return msg.say('📬 Sent `credits.txt` to your DMs!');
}