This commit is contained in:
Erik 2022-07-29 00:48:15 +03:00
parent 6adf87d0d4
commit b5a24adc46
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -496,6 +496,7 @@ class Infraction {
this.reason = data.reason; this.reason = data.reason;
this.resolved = data.resolved; this.resolved = data.resolved;
this.changes = data.changes; this.changes = data.changes;
this.changes = data.changes || [];
this.channelId = data.channel; this.channelId = data.channel;
this.channel = { name: data.channelName }; this.channel = { name: data.channelName };