small bug fix or whatevs
parent
d70a274712
commit
bd988cac11
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue