Merge branch 'dev'

pull/29/head
Matthew 2020-11-16 12:17:19 -05:00
commit d3f2af53bc
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ export default class Score_Hist extends Command {
if (!user) return this.error(message.channel, 'Member not found.'); if (!user) return this.error(message.channel, 'Member not found.');
const hists = await this.client.db.ScoreHistorical.find({ userID: user.id }).lean().exec(); const hists = await this.client.db.ScoreHistorical.find({ userID: user.id }).lean().exec();
if (!hists) return this.error(message.channel, 'No history found.'); if (!hists) return this.error(message.channel, 'No history found.');
if (hists.length < 1) return this.error(message.channel, 'No history found.');
const histArray: [{ name: string, value: string }?] = []; const histArray: [{ name: string, value: string }?] = [];
const totalArray: number[] = []; const totalArray: number[] = [];
const activityArray: number[] = []; const activityArray: number[] = [];