DiscordTickets/commands/example-command.js.example
Eartharoid d2dc415f5a update
2019-05-04 12:23:27 +01:00

22 lines
441 B
Plaintext

const Discord = require('discord.js');
const config = require('../config.json');
module.exports = {
name: 'example-command',
description: 'An example command',
usage: '[args]',
aliases: ['command', 'commands'],
example: 'example-command',
args: false,
cooldown: config.cooldown,
execute(message, args) {
const client = message.client;
// command starts here
message.delete();
// command ends here
},
};