From 93e2c04ec27c44a8c955e576944023dc25075647 Mon Sep 17 00:00:00 2001 From: Almeida Date: Mon, 5 Jul 2021 16:07:57 +0100 Subject: [PATCH] fix(InviteScope): added missing 'bot' scope (#6052) --- src/util/Constants.js | 1 + typings/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/util/Constants.js b/src/util/Constants.js index 0a8990bd9..92caafbef 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -314,6 +314,7 @@ exports.WSEvents = keyMirror([ * * `applications.commands`: allows this bot to create commands in the server * * `applications.entitlements`: allows reading entitlements for a users applications * * `applications.store.update`: allows reading and updating of store data for a users applications + * * `bot`: makes the bot join the selected guild * * `connections`: makes the endpoint for getting a users connections available * * `email`: allows the `/users/@me` endpoint return with an email * * `identify`: allows the `/users/@me` endpoint without an email diff --git a/typings/index.d.ts b/typings/index.d.ts index 258f2df9a..022e9800f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3553,6 +3553,7 @@ export type InviteScope = | 'applications.commands' | 'applications.entitlements' | 'applications.store.update' + | 'bot' | 'connections' | 'email' | 'identity'