+2
-2
lines changedFilter options
+2
-2
lines changed Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ class PartialGroupDMChannel extends BaseChannel {
27
27
* The hash of the channel icon
28
28
* @type {?string}
29
29
*/
30
-
this.icon = data.icon;
30
+
this.icon = data.icon ?? null;
31
31
32
32
/**
33
33
* Recipient data received in a {@link PartialGroupDMChannel}.
@@ -39,7 +39,7 @@ class PartialGroupDMChannel extends BaseChannel {
39
39
* The recipients of this Group DM Channel.
40
40
* @type {PartialRecipient[]}
41
41
*/
42
-
this.recipients = data.recipients;
42
+
this.recipients = data.recipients ?? [];
43
43
44
44
/**
45
45
* A manager of the messages belonging to this channel
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4