quel que petit truc mdr

This commit is contained in:
VALOU3336
2024-02-24 20:18:39 +01:00
parent 365ae0f973
commit b070fe6edf
15 changed files with 179 additions and 35 deletions
-1
View File
@@ -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];
}