DiscordTickets/commands/example-command.js.example
Eartharoid b32d038e0b update
2019-05-04 12:20:26 +01:00

22 lines
444 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
},
};