mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Adjust markdown headers
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = class GenerateCreditCommand extends Command {
|
|||||||
}).join('\n');
|
}).join('\n');
|
||||||
})
|
})
|
||||||
.filter(cmds => cmds);
|
.filter(cmds => cmds);
|
||||||
const file = Buffer.from(`# Credits\n## NPM Packages\n${npm}\n## Other Credits\n${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' }] });
|
await msg.direct({ files: [{ attachment: file, name: 'credits.txt' }] });
|
||||||
return msg.say('📬 Sent `credits.txt` to your DMs!');
|
return msg.say('📬 Sent `credits.txt` to your DMs!');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user