From df3a11668fe1c6fea48e5e035eb3089a0ef9c9db Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sat, 10 Sep 2022 10:49:19 +0300 Subject: [PATCH] fix silent arg for infractions --- src/structure/interfaces/Infraction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structure/interfaces/Infraction.js b/src/structure/interfaces/Infraction.js index 88756ea..f9777ca 100644 --- a/src/structure/interfaces/Infraction.js +++ b/src/structure/interfaces/Infraction.js @@ -51,6 +51,7 @@ class Infraction { this.reason = data.reason || 'N/A'; + this.silent = data.silent || false; this.points = data.points || 0; this.expiration = data.expiration > 0 ? Date.now() + data.expiration : null; // Time when the points expire in milliseconds this.totalPoints = 0;