mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Improve docs a bit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const Snowflake = require('../util/Snowflake');
|
||||
|
||||
/**
|
||||
* Represents an OAuth2 Application
|
||||
* Represents an OAuth2 Application.
|
||||
*/
|
||||
class OAuth2Application {
|
||||
constructor(client, data) {
|
||||
@@ -60,7 +60,7 @@ class OAuth2Application {
|
||||
this.redirectURIs = data.redirect_uris;
|
||||
|
||||
/**
|
||||
* If this app's bot requires a code grant when using the oauth2 flow
|
||||
* If this app's bot requires a code grant when using the OAuth2 flow
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.botRequireCodeGrant = data.bot_require_code_grant;
|
||||
@@ -84,7 +84,7 @@ class OAuth2Application {
|
||||
this.bot = data.bot;
|
||||
|
||||
/**
|
||||
* Flags for the app
|
||||
* The flags for the app
|
||||
* @type {number}
|
||||
*/
|
||||
this.flags = data.flags;
|
||||
@@ -115,7 +115,7 @@ class OAuth2Application {
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the app's secret and bot token
|
||||
* Reset the app's secret and bot token.
|
||||
* @returns {OAuth2Application}
|
||||
*/
|
||||
reset() {
|
||||
|
||||
Reference in New Issue
Block a user