mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix no newline
This commit is contained in:
@@ -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!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user