From d3fd943fe2ddecdc53e3819882fdc61e6bc04e9e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 9 Dec 2021 22:01:59 -0500 Subject: [PATCH] pls --- src/commands/apply.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/apply.ts b/src/commands/apply.ts index 701c886..ad13859 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -88,7 +88,7 @@ export default class Apply extends Command { func: async (client: Client, ...data: any[]) => { const dmember = await client.guilds.get(client.config.guildID).getRESTMember(data[0]); const member = await this.client.db.Member.findOne({ userID: dmember.id }).lean().exec(); - const csAccount = await CloudServicesUtil.fetchAccountStatus(member.id, this.client.config.internalKey); + const csAccount = await CloudServicesUtil.fetchAccountStatus(dmember.id, this.client.config.internalKey); if (!member) { const addMember = new this.client.db.Member({ userID: dmember.id,