diff --git a/src/intervals/checkStaffStatus.ts b/src/intervals/checkStaffStatus.ts index 7e8e9d2..0f09fb7 100644 --- a/src/intervals/checkStaffStatus.ts +++ b/src/intervals/checkStaffStatus.ts @@ -52,7 +52,7 @@ export default function checkStaffStatus(client: Client) { await client.db.Account.updateOne({ username: acc.username }, { $set: { 'permissions.intern': false } }); } - if ((acc.permissions.staff || acc.permissions.intern || acc.permissions.technician || acc.permissions.director || user.roles.cache.has('858049948401401866')) && acc.tier < 3) { + if ((acc.permissions.staff || acc.permissions.intern || acc.permissions.technician || acc.permissions.director || user.roles.cache.has('858049948401401866')) && (acc.tier < 3 && acc.tier > 0)) { await client.db.Account.updateOne({ username: acc.username }, { $set: { tier: 3 } }); const embed = new MessageEmbed(); embed.setTitle('Cloud Account | Tier Change');