Ticket releasing

This commit is contained in:
Isaac
2021-05-13 16:01:09 +01:00
parent c9d55e6feb
commit 7cf039b8eb
6 changed files with 111 additions and 46 deletions

View File

@@ -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])
}
};

View File

@@ -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);
}
};