mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-06-28 16:59:58 +03:00
17 lines
485 B
JavaScript
17 lines
485 B
JavaScript
const { StdinCommand } = require('@eartharoid/dbf');
|
|
const { homepage } = require('../../package.json');
|
|
|
|
module.exports = class extends StdinCommand {
|
|
constructor(client, options) {
|
|
super(client, {
|
|
...options,
|
|
id: 'help',
|
|
});
|
|
}
|
|
|
|
async run() {
|
|
this.client.log.info('Documentation:', homepage);
|
|
this.client.log.info('Support: https://lnk.earth/discord');
|
|
this.client.log.info('stdin commands:\n' + this.client.stdin.components.map(c => `> ${c.id}`).join('\n'));
|
|
}
|
|
}; |