mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-09 19:51:36 +02:00
Remove /config set-role
This commit is contained in:
parent
dd89cfcee9
commit
1ad6cb5ebe
4 changed files with 23 additions and 9 deletions
|
@ -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`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue