mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-09 14:23:08 +02:00
537f59d496
logger stuff
24 lines
500 B
JavaScript
24 lines
500 B
JavaScript
const Discord = require('discord.js');
|
|
const config = require('../config.json');
|
|
const log = require(`../handlers/logger.js`);
|
|
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
|
|
},
|
|
};
|