dis-cli
Version:
A package for easily generating discord bot projects
19 lines (17 loc) • 402 B
JavaScript
module.exports = function () {
return `const Command = require('../../util/Command.js');
class Ping extends Command {
constructor(client) {
super(client, {
name: 'ping',
aliases: [],
category: ''
});
}
async run (message, args) {
return message.channel.send('Pong!')
}
};
module.exports = Ping;
`
}