small bug fix or whatevs

master
Matthew 2021-10-11 15:25:10 -04:00
parent d70a274712
commit bd988cac11
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export default class GuildMemberAdd extends Event {
if (!member.roles.includes('585600289747369987') && oldMember.roles.includes('585600289747369987')) { if (!member.roles.includes('585600289747369987') && oldMember.roles.includes('585600289747369987')) {
const csAccountData = await CloudServicesUtil.fetchAccountStatus(member.id, this.client.config.internalKey); 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); const status = await CloudServicesUtil.downgradeT2(member.id, this.client.config.internalKey);
if (status !== 200) return; if (status !== 200) return;