From b5a24adc46c60022970e9cddd17816c0815a14e5 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 29 Jul 2022 00:48:15 +0300 Subject: [PATCH] bugfix --- 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 a70e2b4..cdac3da 100644 --- a/src/structure/interfaces/Infraction.js +++ b/src/structure/interfaces/Infraction.js @@ -496,6 +496,7 @@ class Infraction { this.reason = data.reason; this.resolved = data.resolved; this.changes = data.changes; + this.changes = data.changes || []; this.channelId = data.channel; this.channel = { name: data.channelName };