DiscordTickets/commands/remove.js

23 lines
454 B
JavaScript
Raw Normal View History

2019-05-04 18:09:05 +03:00
const Discord = require('discord.js');
const config = require('../config.json');
module.exports = {
name: 'remove',
description: 'Remove a member from a ticket',
usage: '<@member>',
aliases: ['kick'],
example: 'remove @exampleUser',
args: false,
cooldown: config.cooldown,
guildOnly: true,
execute(message, args) {
const client = message.client;
// command starts here
message.delete();
// command ends here
},
};