small bug fix or whatevs
parent
bd988cac11
commit
56f7cd50a0
|
@ -107,7 +107,7 @@ export default async function calculateScore(client: Client): Promise<NodeJS.Tim
|
||||||
if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff = 20;
|
if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff = 20;
|
||||||
|
|
||||||
const response = await CloudServicesUtil.fetchAccountStatus(member.user.id, client.config.internalKey);
|
const response = await CloudServicesUtil.fetchAccountStatus(member.user.id, client.config.internalKey);
|
||||||
if (response || response.found === true) {
|
if (response || response?.found === true) {
|
||||||
let negatives = 0;
|
let negatives = 0;
|
||||||
let positives = 0;
|
let positives = 0;
|
||||||
if (response.createdAt) {
|
if (response.createdAt) {
|
||||||
|
|
Loading…
Reference in New Issue