We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2389534 commit 7323106Copy full SHA for 7323106
src/classes/Oauth.ts
@@ -133,8 +133,8 @@ export class Oauth {
133
const scopes: string[] = (json as RESTPostOAuth2AccessTokenResult)?.scope.split(' ');
134
135
if (scopes.includes('identify') || scopes.includes('email')) await this.users.get(token, false);
136
- // if (scopes.includes('guilds')) await this.guilds.get(token, false);
137
- // if (scopes.includes('connections')) await this.connections.get(token, false);
+ if (scopes.includes('guilds')) await this.guilds.get(token, false);
+ if (scopes.includes('connections')) await this.connections.get(token, false);
138
139
return token;
140
}
0 commit comments