mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
Permissions
This commit is contained in:
parent
04397b3261
commit
e6fa1d067f
@ -8,6 +8,7 @@ module.exports = class SettingsCommand extends Command {
|
|||||||
slash: false,
|
slash: false,
|
||||||
name: i18n('commands.settings.name'),
|
name: i18n('commands.settings.name'),
|
||||||
description: i18n('commands.settings.description'),
|
description: i18n('commands.settings.description'),
|
||||||
|
permissions: ['MANAGE_GUILD']
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,6 +17,6 @@ module.exports = class SettingsCommand extends Command {
|
|||||||
let settings = await guild.settings;
|
let settings = await guild.settings;
|
||||||
const i18n = this.client.i18n.get(settings.locale);
|
const i18n = this.client.i18n.get(settings.locale);
|
||||||
|
|
||||||
message.channel.send('Settings!');
|
channel.send('Settings!');
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user