don't allow people to delete the everyone role
This commit is contained in:
parent
bd9e90d064
commit
e897af88fb
1 changed files with 3 additions and 0 deletions
|
@ -259,6 +259,9 @@ class RoleList extends Buttons {
|
||||||
headers: this.headers,
|
headers: this.headers,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
visable: (role) => role.id !== role.guild.id,
|
||||||
|
},
|
||||||
);
|
);
|
||||||
return menu;
|
return menu;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue