From 0439f34322064953f52419cad1de0c65ccdbad43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Thu, 31 Oct 2024 11:31:26 +0100 Subject: [PATCH] =?UTF-8?q?:sparkles:=20R=C3=A9duction=20call=20api=20?= =?UTF-8?q?=C3=A0=20discord=20pour=20les=20r=C3=B4les?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/utils/GachaUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/utils/GachaUtils.ts b/src/base/utils/GachaUtils.ts index 016698b..6c6a8a9 100644 --- a/src/base/utils/GachaUtils.ts +++ b/src/base/utils/GachaUtils.ts @@ -52,10 +52,10 @@ export async function createAllUsers(client: CustomClient): Promise { rank: getRandomRank() }); + await addRole(member, user, client); + count++; } - - await addRole(member, user, client); } if (count > 0) {