mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-10 02:44:10 +02:00
quel que petit truc mdr
This commit is contained in:
@@ -16,7 +16,6 @@ async function getPermissionLevel(member, client) {
|
||||
for (let i = 1; i <= 9; i++) {
|
||||
const roleIds = await GestionDb.get(`${botId}.${member.guild.id}.p${i}`);
|
||||
if (roleIds) {
|
||||
// Si roleIds n'est pas un tableau, le convertir en tableau
|
||||
if (!Array.isArray(roleIds)) {
|
||||
roleIds = [roleIds];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user