DiscordTickets/commands/add.js

24 lines
500 B
JavaScript
Raw Normal View History

2019-05-04 18:09:05 +03:00
const Discord = require('discord.js');
const config = require('../config.json');
2019-05-05 16:31:21 +03:00
const log = require(`../handlers/logger.js`);
2019-05-04 18:09:05 +03:00
module.exports = {
name: 'add',
description: 'Add a member to a ticket channel',
usage: '<@member>',
aliases: ['adduser'],
example: 'add @exampleUser',
args: false,
cooldown: config.cooldown,
guildOnly: true,
execute(message, args) {
const client = message.client;
// command starts here
message.delete();
// command ends here
},
};