From bd988cac1141715f204b94008d0e14dd7f00e2ab Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 11 Oct 2021 15:25:10 -0400 Subject: [PATCH] small bug fix or whatevs --- src/events/guildMemberUpdate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/guildMemberUpdate.ts b/src/events/guildMemberUpdate.ts index 7356d64..c2d8e6e 100644 --- a/src/events/guildMemberUpdate.ts +++ b/src/events/guildMemberUpdate.ts @@ -23,7 +23,7 @@ export default class GuildMemberAdd extends Event { if (!member.roles.includes('585600289747369987') && oldMember.roles.includes('585600289747369987')) { const csAccountData = await CloudServicesUtil.fetchAccountStatus(member.id, this.client.config.internalKey); - if (csAccountData.tier > 1) return; + if (csAccountData.tier === 1) return; const status = await CloudServicesUtil.downgradeT2(member.id, this.client.config.internalKey); if (status !== 200) return;