fix bug
This commit is contained in:
parent
da02043957
commit
a7468df6de
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js-selfbot-v13",
|
"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]",
|
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
"types": "./typings/index.d.ts",
|
"types": "./typings/index.d.ts",
|
||||||
|
@ -385,7 +385,7 @@ class ClientUserSettingManager {
|
|||||||
}
|
}
|
||||||
return this.edit({
|
return this.edit({
|
||||||
default_guilds_restricted: status,
|
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) : [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user