aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/massEvidence.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/massEvidence.ts b/src/commands/moderation/massEvidence.ts
index 0fc3ad0..8731de2 100644
--- a/src/commands/moderation/massEvidence.ts
+++ b/src/commands/moderation/massEvidence.ts
@@ -76,10 +76,10 @@ export default class MassEvidenceCommand extends BushCommand {
const res = await Promise.all(promises);
- const lines = ids.map((_, i) => {
+ const lines = ids.map((id, i) => {
const case_ = res[i];
- if (!case_) return `${util.emojis.error} ${i} - no case found.`;
- return `${util.emojis.success} ${i} - ${case_.id}`;
+ if (!case_) return `${util.emojis.error} ${id} - no case found.`;
+ return `${util.emojis.success} ${id} - ${case_.id}`;
});
client.emit('massEvidence', message.member!, message.guild, evidence, lines);