Improve docs a bit

This commit is contained in:
Crawl
2017-04-30 04:30:44 +02:00
parent 3f8c0a4d11
commit ac92d2cecc
83 changed files with 716 additions and 711 deletions

View File

@@ -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() {