mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
22 lines
444 B
Plaintext
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
|
||
|
},
|
||
|
};
|