mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-08 10:51:26 +03:00
Ticket releasing
This commit is contained in:
@@ -27,5 +27,8 @@ module.exports = class CloseCommand extends Command {
|
||||
async execute(message, args) {
|
||||
let settings = await message.guild.settings;
|
||||
const i18n = this.client.i18n.getLocale(settings.locale);
|
||||
|
||||
this.client.log.info(args)
|
||||
message.channel.send(args[0])
|
||||
}
|
||||
};
|
@@ -1,30 +0,0 @@
|
||||
const Command = require('../modules/commands/command');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
const { footer } = require('../utils/discord');
|
||||
|
||||
module.exports = class TransferCommand extends Command {
|
||||
constructor(client) {
|
||||
const i18n = client.i18n.getLocale(client.config.locale);
|
||||
super(client, {
|
||||
internal: true,
|
||||
name: i18n('commands.transfer.name'),
|
||||
description: i18n('commands.transfer.description'),
|
||||
aliases: [],
|
||||
process_args: false,
|
||||
args: [
|
||||
{
|
||||
name: i18n('commands.transfer.args.member.name'),
|
||||
description: i18n('commands.transfer.args.member.description'),
|
||||
example: i18n('commands.transfer.args.member.example'),
|
||||
required: false,
|
||||
}
|
||||
],
|
||||
staff_only: true
|
||||
});
|
||||
}
|
||||
|
||||
async execute(message, args) {
|
||||
let settings = await message.guild.settings;
|
||||
const i18n = this.client.i18n.getLocale(settings.locale);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user