forked from Galactic/galactic-bot
fix silent arg for infractions
This commit is contained in:
parent
ba81db17f9
commit
df3a11668f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user