mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Change domain to discord.com (#4160)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user