Remove /config set-role

This commit is contained in:
Max Isom 2022-05-14 12:40:48 -04:00
parent dd89cfcee9
commit 1ad6cb5ebe
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 23 additions and 9 deletions

View file

@ -17,13 +17,6 @@ export default class implements Command {
.setName('limit')
.setDescription('maximum number of tracks')
.setRequired(true)))
.addSubcommand(subcommand => subcommand
.setName('set-role')
.setDescription('set the role that is allowed to use the bot')
.addRoleOption(option => option
.setName('role')
.setDescription('allowed role')
.setRequired(true)))
.addSubcommand(subcommand => subcommand
.setName('set-wait-after-queue-empties')
.setDescription('set the time to wait before leaving the voice channel when queue empties')
@ -111,7 +104,6 @@ export default class implements Command {
const settingsToShow = {
'Playlist Limit': config.playlistLimit,
Role: config.roleId ? `<@&${config.roleId}>` : 'not set',
'Wait before leaving after queue empty': config.secondsToWaitAfterQueueEmpties === 0
? 'never leave'
: `${config.secondsToWaitAfterQueueEmpties}s`,