Updated waitinglist system

This commit is contained in:
2024-02-20 13:03:52 +01:00
parent 96f115cf36
commit 6ee57aa7f6
6 changed files with 21 additions and 27 deletions

View File

@@ -134,10 +134,7 @@ export = {
replyRank = "Member"
}
// FIXME: need to check if user is on waiting list
if (user.roles.cache.has(waitingListRole)) {
await user.roles.remove(waitingListRole, "User used the update command")
}
await user.roles.remove(waitingListRole, "User used the update command")
await user.setNickname(ign, "Verification").catch(() => {
// Do nothing