missing thing to modstats

This commit is contained in:
Erik 2022-07-15 11:53:13 +03:00
parent 416cfb7a01
commit c491112024
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -40,6 +40,8 @@ class ModstatsCommand extends SlashCommand {
$gt: opts.after.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 } });