diff --git a/src/structure/client/wrappers/UserWrapper.js b/src/structure/client/wrappers/UserWrapper.js index 8bdf27f..79b7ecd 100644 --- a/src/structure/client/wrappers/UserWrapper.js +++ b/src/structure/client/wrappers/UserWrapper.js @@ -48,7 +48,6 @@ class UserWrapper { let points = p; // Imported cases may have false or null if (typeof points !== 'number') points = 0; - console.log(points); if (expiration > 0) { index.expirations.push({ points, expiration, id }); } else { diff --git a/src/structure/components/commands/moderation/History.js b/src/structure/components/commands/moderation/History.js index 6d0e0f4..6d821f9 100644 --- a/src/structure/components/commands/moderation/History.js +++ b/src/structure/components/commands/moderation/History.js @@ -129,7 +129,7 @@ class HistoryCommand extends SlashCommand { const [result] = await infractions.aggregate([{ $match: { ...query, - $or: [{ expiration: { $gt: Date.now() } }, { expiration: null }], + $or: [{ expiration: { $gt: Date.now() } }, { expiration: null }, { expiration: 0 }], resolved: false } }, {