From 232634a3b30ba4b5ceabd3c594f5b345fde399e0 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 25 May 2022 17:11:51 -0400 Subject: fix(MassEvidenceCommand): find the latest case, not the oldest one --- src/commands/moderation/massEvidence.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commands/moderation/massEvidence.ts b/src/commands/moderation/massEvidence.ts index 8731de2..62421da 100644 --- a/src/commands/moderation/massEvidence.ts +++ b/src/commands/moderation/massEvidence.ts @@ -64,7 +64,7 @@ export default class MassEvidenceCommand extends BushCommand { ids.map((id) => ModLog.findOne({ where: { guild: message.guild.id, user: id }, - order: [['createdAt', 'ASC']] + order: [['createdAt', 'DESC']] }).catch(() => null) ) ) -- cgit