Skip to content

Commit 294296a

Browse files
committed
bug fixes
1 parent 5ed4772 commit 294296a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/webpage/guild.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,11 @@ class Guild extends SnowFlake {
205205
bits += (1 - e.s4) * 8;
206206
delete e.s4;
207207
e.system_channel_flags = bits;
208-
const temp = this.properties.features;
208+
let temp = this.properties.features;
209+
console.log([...temp]);
209210
//@ts-ignore
210-
temp.filter((_) => !options.includes(_));
211+
temp = temp.filter((_) => !options.includes(_));
212+
console.log(temp, options);
211213
temp.push(e.features);
212214
e.features = temp;
213215
});
@@ -460,6 +462,7 @@ class Guild extends SnowFlake {
460462
this.member_count = json.member_count;
461463
this.emojis = json.emojis;
462464
this.headers = this.owner.headers;
465+
this.properties.features = json.features;
463466
if (this.properties.icon !== json.icon) {
464467
this.properties.icon = json.icon;
465468
if (this.HTMLicon) {

0 commit comments

Comments
 (0)