Skip to content

Testing Commands

Rick Groot edited this page Dec 24, 2020 · 1 revision

Just to make sure it works

Here are some commands that will make sure the bot is online.

//ping

module.exports = {
    name: 'ping',
    description: 'this is a ping command',
    execute(message, args) {
        message.channel.send('Pong!');
    }
}

Returns "Pong!" in chat.

//test

module.exports = {
    name: 'test',
    description: 'this is a test command',
    execute(message, args) {
        message.channel.send('Still online and listening');
    }
}

Returns "Still online and listening" in chat.

Clone this wiki locally