chore: v2.9.12
This commit is contained in:
parent
8b4924e147
commit
30f17fb657
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js-selfbot-v13",
|
"name": "discord.js-selfbot-v13",
|
||||||
"version": "2.9.11",
|
"version": "2.9.12",
|
||||||
"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",
|
||||||
|
@ -1497,7 +1497,7 @@ class Guild extends AnonymousGuild {
|
|||||||
* @param {?PermissionResolvable} permissions Permissions
|
* @param {?PermissionResolvable} permissions Permissions
|
||||||
* @returns {Promise<boolean>}
|
* @returns {Promise<boolean>}
|
||||||
*/
|
*/
|
||||||
addBot(bot, permissions = 0n) {
|
addBot(bot, permissions) {
|
||||||
if (!this.me.permissions.has('MANAGE_WEBHOOKS')) {
|
if (!this.me.permissions.has('MANAGE_WEBHOOKS')) {
|
||||||
throw new Error('MISSING_PERMISSIONS', 'MANAGE_WEBHOOKS');
|
throw new Error('MISSING_PERMISSIONS', 'MANAGE_WEBHOOKS');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user