From c491112024b2c0c88b0f499a603c7c207ad9b9c9 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 15 Jul 2022 11:53:13 +0300 Subject: [PATCH] missing thing to modstats --- src/structure/components/commands/administration/Modstats.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structure/components/commands/administration/Modstats.js b/src/structure/components/commands/administration/Modstats.js index bfc7d49..aaaa1b0 100644 --- a/src/structure/components/commands/administration/Modstats.js +++ b/src/structure/components/commands/administration/Modstats.js @@ -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 } });