fix bug
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "discord.js-selfbot-v13",
 | 
			
		||||
  "version": "1.4.2",
 | 
			
		||||
  "version": "1.4.21",
 | 
			
		||||
  "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
 | 
			
		||||
  "main": "./src/index.js",
 | 
			
		||||
  "types": "./typings/index.d.ts",
 | 
			
		||||
 
 | 
			
		||||
@@ -385,7 +385,7 @@ class ClientUserSettingManager {
 | 
			
		||||
    }
 | 
			
		||||
    return this.edit({
 | 
			
		||||
      default_guilds_restricted: status,
 | 
			
		||||
      restricted_guilds: status ? this.client.guilds.map(v => v.id) : [],
 | 
			
		||||
      restricted_guilds: status ? this.client.guilds.cache.map(v => v.id) : [],
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
  /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user