fix: affichait le rôle everyone dans la liste de setrole
This commit is contained in:
parent
1ef53e8dd0
commit
6471c772ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user