DiscordTickets/src/commands/_settings.js
2021-03-21 22:52:32 +00:00

21 lines
548 B
JavaScript

const Command = require('../modules/commands/command');
module.exports = class SettingsCommand extends Command {
constructor(client) {
const i18n = client.i18n.get(client.config.locale);
super(client, {
internal: true,
slash: false,
name: i18n('commands.settings.name'),
description: i18n('commands.settings.description'),
});
}
async execute({ guild, member, channel, args }, message) {
let settings = await guild.settings;
const i18n = this.client.i18n.get(settings.locale);
message.channel.send('Settings!');
}
};