File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -205,9 +205,11 @@ class Guild extends SnowFlake {
205
205
bits += ( 1 - e . s4 ) * 8 ;
206
206
delete e . s4 ;
207
207
e . system_channel_flags = bits ;
208
- const temp = this . properties . features ;
208
+ let temp = this . properties . features ;
209
+ console . log ( [ ...temp ] ) ;
209
210
//@ts -ignore
210
- temp . filter ( ( _ ) => ! options . includes ( _ ) ) ;
211
+ temp = temp . filter ( ( _ ) => ! options . includes ( _ ) ) ;
212
+ console . log ( temp , options ) ;
211
213
temp . push ( e . features ) ;
212
214
e . features = temp ;
213
215
} ) ;
@@ -460,6 +462,7 @@ class Guild extends SnowFlake {
460
462
this . member_count = json . member_count ;
461
463
this . emojis = json . emojis ;
462
464
this . headers = this . owner . headers ;
465
+ this . properties . features = json . features ;
463
466
if ( this . properties . icon !== json . icon ) {
464
467
this . properties . icon = json . icon ;
465
468
if ( this . HTMLicon ) {
You can’t perform that action at this time.
0 commit comments