From d14bee905da1118ca0bbbb88e19216698e705553 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 14 Aug 2020 12:26:34 -0400 Subject: [PATCH] fixes to staff checking --- src/intervals/checkStaffStatus.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intervals/checkStaffStatus.ts b/src/intervals/checkStaffStatus.ts index b1d2a06..83e6a4f 100644 --- a/src/intervals/checkStaffStatus.ts +++ b/src/intervals/checkStaffStatus.ts @@ -14,6 +14,7 @@ export default function checkStaffStatus(client: Client) { } const user = client.guilds.get('446067825673633794').members.get(acc.userID); + // eslint-disable-next-line no-continue if (!user) continue; if (!acc.permissions.director && user.roles.includes('662163685439045632')) { await client.db.Account.updateOne({ username: acc.username }, { $set: { 'permissions.director': true } });