From 2ce610e801fee74a280fe513b1d353c2ff17d2f0 Mon Sep 17 00:00:00 2001 From: almeidx Date: Mon, 5 Jul 2021 15:58:27 +0100 Subject: [PATCH 1/2] types(InviteScope): added missing 'bot' scope --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index a200f66f07ee..f049e212f613 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3556,6 +3556,7 @@ export type InviteScope = | 'applications.commands' | 'applications.entitlements' | 'applications.store.update' + | 'bot' | 'connections' | 'email' | 'identity' From f77337f9d74b7c7cec3c8a8f7f85aa85b94e73dc Mon Sep 17 00:00:00 2001 From: almeidx Date: Mon, 5 Jul 2021 16:01:46 +0100 Subject: [PATCH 2/2] docs(InviteScopes): missing 'bot' scope reference --- src/util/Constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/Constants.js b/src/util/Constants.js index 0a8990bd96b2..92caafbef7f3 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