diff --git a/src/structure/client/ModerationManager.js b/src/structure/client/ModerationManager.js index a90b138..1d4a77f 100644 --- a/src/structure/client/ModerationManager.js +++ b/src/structure/client/ModerationManager.js @@ -187,7 +187,6 @@ class ModerationManager { } for (const [, data] of Object.entries(fails)) { - console.log(data); const { dictionary, targetType } = data.infraction; const str = `${Emojis.failure} ${invoker.format('INFRACTION_FAIL', { infraction: dictionary.present, @@ -250,7 +249,7 @@ class ModerationManager { expiration = 0; if (modpoints.enabled) { points = info.points || modpoints.points[type]; - expiration = info.expiration || modpoints.expirations[type] * 1000; + expiration = info.expiration || modpoints.expirations[type]; if(reason) for (const [phrase, amount] of Object.entries(modpoints.associations)) { if (reason.toLowerCase().includes(phrase)) points = amount; } diff --git a/src/structure/interfaces/Infraction.js b/src/structure/interfaces/Infraction.js index 3d3246c..664070b 100644 --- a/src/structure/interfaces/Infraction.js +++ b/src/structure/interfaces/Infraction.js @@ -187,7 +187,7 @@ class Infraction { description += `\n${this.guild.format('INFRACTION_DESCRIPTIONPOINTS', { points: this.points, total: this.totalPoints, - expires: Util.duration(this.pointsExpiration) + expires: Util.duration(this.points) })}`; }