mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 08:41:25 +03:00
update
command handler
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
const Discord = require('discord.js');
|
||||
const { version } = require('../package.json');
|
||||
const config = require('../config.json');
|
||||
module.exports = {
|
||||
name: 'help',
|
||||
description: 'Displays help menu',
|
||||
usage: '[command]',
|
||||
aliases: ['command', 'commands'],
|
||||
args: false,
|
||||
cooldown: 5,
|
||||
execute(message, args, config, version) {
|
||||
cooldown: config.cooldown,
|
||||
execute(message, args) {
|
||||
const client = message.client;
|
||||
// command starts here
|
||||
message.delete();
|
||||
|
@@ -4,7 +4,7 @@ module.exports = {
|
||||
usage: '<brief description>',
|
||||
aliases: ['ticket'],
|
||||
args: true,
|
||||
execute(message, args, config) {
|
||||
execute(message, args) {
|
||||
// command starts here
|
||||
message.delete();
|
||||
const ticketChannel = "channel";
|
||||
|
Reference in New Issue
Block a user