Skip to content

Commit

Permalink
fix(InviteScope): added missing 'bot' scope (#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Jul 5, 2021
1 parent 03fe6ee commit 93e2c04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/util/Constants.js
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions typings/index.d.ts
Expand Up @@ -3553,6 +3553,7 @@ export type InviteScope =
| 'applications.commands'
| 'applications.entitlements'
| 'applications.store.update'
| 'bot'
| 'connections'
| 'email'
| 'identity'
Expand Down

0 comments on commit 93e2c04

Please sign in to comment.