missing thing to modstats
This commit is contained in:
parent
416cfb7a01
commit
c491112024
@ -40,6 +40,8 @@ class ModstatsCommand extends SlashCommand {
|
|||||||
$gt: opts.after.valueOf(),
|
$gt: opts.after.valueOf(),
|
||||||
$lt: opts.before.valueOf()
|
$lt: opts.before.valueOf()
|
||||||
};
|
};
|
||||||
|
result.time.rangeEnd = opts.before.valueOf();
|
||||||
|
result.time.rangeStart = opts.after.valueOf();
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = await this.client.mongodb.infractions.find(query, { projection: { executor: 1, type: 1 } });
|
const data = await this.client.mongodb.infractions.find(query, { projection: { executor: 1, type: 1 } });
|
||||||
|
Loading…
Reference in New Issue
Block a user