DiscordTickets/commands/remove.js
Eartharoid adc1b002e7 update
2019-05-04 20:16:48 +01:00

24 lines
489 B
JavaScript

const Discord = require('discord.js');
const config = require('../config.json');
const leeks = require('leeks.js');
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
},
};