From 1ad6cb5ebe4a710c14bf5bb82e6acde1196b6926 Mon Sep 17 00:00:00 2001 From: Max Isom Date: Sat, 14 May 2022 12:40:48 -0400 Subject: Remove /config set-role --- src/commands/config.ts | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/commands/config.ts b/src/commands/config.ts index 55dab71..cc3fd3e 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -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`, -- cgit v1.2.3