Permissions

This commit is contained in:
Isaac 2021-03-21 23:10:37 +00:00
parent 04397b3261
commit e6fa1d067f

View File

@ -8,6 +8,7 @@ module.exports = class SettingsCommand extends Command {
slash: false,
name: i18n('commands.settings.name'),
description: i18n('commands.settings.description'),
permissions: ['MANAGE_GUILD']
});
}
@ -16,6 +17,6 @@ module.exports = class SettingsCommand extends Command {
let settings = await guild.settings;
const i18n = this.client.i18n.get(settings.locale);
message.channel.send('Settings!');
channel.send('Settings!');
}
};