mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-09 14:23:08 +02:00
Permissions
This commit is contained in:
parent
04397b3261
commit
e6fa1d067f
@ -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!');
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user