forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
6adf87d0d4
commit
b5a24adc46
@ -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 };
|
||||||
|
Loading…
Reference in New Issue
Block a user