This commit is contained in:
March 7th 2022-05-03 14:21:44 +07:00
parent da02043957
commit a7468df6de
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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) : [],
});
}
/**