diff --git a/commands/setrole.js b/commands/setrole.js index 512a830..a7c3594 100644 --- a/commands/setrole.js +++ b/commands/setrole.js @@ -36,7 +36,7 @@ module.exports = { }); roles.forEach(element => { - if (element.managed != true && element.rawPosition < maxPos) { + if (element.managed != true && element.rawPosition < maxPos && element.rawPosition != 0) { selectMenu.addOptions([ { label: element.name, @@ -57,7 +57,7 @@ module.exports = { const collector = interaction.channel.createMessageComponentCollector({ filter: filter, - time: 5 * 1000, + time: 3 * 60000, }); commandUser.set(interaction.user.id, interaction);