chore: v2.9.12

This commit is contained in:
March 7th
2022-12-05 18:35:02 +07:00
parent 8b4924e147
commit 30f17fb657
3 changed files with 3 additions and 3 deletions

View File

@@ -1497,7 +1497,7 @@ class Guild extends AnonymousGuild {
* @param {?PermissionResolvable} permissions Permissions
* @returns {Promise<boolean>}
*/
addBot(bot, permissions = 0n) {
addBot(bot, permissions) {
if (!this.me.permissions.has('MANAGE_WEBHOOKS')) {
throw new Error('MISSING_PERMISSIONS', 'MANAGE_WEBHOOKS');
}