Change domain to discord.com (#4160)

This commit is contained in:
Phineas
2020-06-19 10:46:59 +01:00
committed by GitHub
parent 9a1c56c5b9
commit ea19faa411
21 changed files with 32 additions and 32 deletions

View File

@@ -24,7 +24,7 @@ class ActivityFlags extends BitField {}
* * `SYNC`
* * `PLAY`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/topics/gateway#activity-object-activity-flags}
* @see {@link https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags}
*/
ActivityFlags.FLAGS = {
INSTANCE: 1 << 0,

View File

@@ -74,13 +74,13 @@ exports.DefaultOptions = {
* HTTP options
* @typedef {Object} HTTPOptions
* @property {number} [version=7] API version to use
* @property {string} [api='https://discordapp.com/api'] Base url of the API
* @property {string} [api='https://discord.com/api'] Base url of the API
* @property {string} [cdn='https://cdn.discordapp.com'] Base url of the CDN
* @property {string} [invite='https://discord.gg'] Base url of invites
*/
http: {
version: 7,
api: 'https://discordapp.com/api',
api: 'https://discord.com/api',
cdn: 'https://cdn.discordapp.com',
invite: 'https://discord.gg',
},

View File

@@ -41,7 +41,7 @@ class Intents extends BitField {}
* * `DIRECT_MESSAGE_REACTIONS`
* * `DIRECT_MESSAGE_TYPING`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/topics/gateway#list-of-intents}
* @see {@link https://discord.com/developers/docs/topics/gateway#list-of-intents}
*/
Intents.FLAGS = {
GUILDS: 1 << 0,
@@ -64,7 +64,7 @@ Intents.FLAGS = {
/**
* Bitfield representing all privileged intents
* @type {number}
* @see {@link https://discordapp.com/developers/docs/topics/gateway#privileged-intents}
* @see {@link https://discord.com/developers/docs/topics/gateway#privileged-intents}
*/
Intents.PRIVILEGED = Intents.FLAGS.GUILD_MEMBERS | Intents.FLAGS.GUILD_PRESENCES;

View File

@@ -23,7 +23,7 @@ class MessageFlags extends BitField {}
* * `SOURCE_MESSAGE_DELETED`
* * `URGENT`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/resources/channel#message-object-message-flags}
* @see {@link https://discord.com/developers/docs/resources/channel#message-object-message-flags}
*/
MessageFlags.FLAGS = {
CROSSPOSTED: 1 << 0,

View File

@@ -80,7 +80,7 @@ class Permissions extends BitField {
* * `MANAGE_WEBHOOKS`
* * `MANAGE_EMOJIS`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/topics/permissions}
* @see {@link https://discord.com/developers/docs/topics/permissions}
*/
Permissions.FLAGS = {
CREATE_INSTANT_INVITE: 1 << 0,

View File

@@ -22,7 +22,7 @@ class Speaking extends BitField {}
* * `SOUNDSHARE`
* * `PRIORITY_SPEAKING`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/topics/voice-connections#speaking}
* @see {@link https://discord.com/developers/docs/topics/voice-connections#speaking}
*/
Speaking.FLAGS = {
SPEAKING: 1 << 0,

View File

@@ -30,7 +30,7 @@ class UserFlags extends BitField {}
* * `VERIFIED_BOT`
* * `VERIFIED_DEVELOPER`
* @type {Object}
* @see {@link https://discordapp.com/developers/docs/resources/user#user-object-user-flags}
* @see {@link https://discord.com/developers/docs/resources/user#user-object-user-flags}
*/
UserFlags.FLAGS = {
DISCORD_EMPLOYEE: 1 << 0,