diff --git a/src/util/Intents.js b/src/util/Intents.js index e627c8bcc..732a732e5 100644 --- a/src/util/Intents.js +++ b/src/util/Intents.js @@ -61,23 +61,4 @@ Intents.FLAGS = { DIRECT_MESSAGE_TYPING: 1 << 14, }; -/** - * Bitfield representing all privileged intents - * @type {number} - * @see {@link https://discord.com/developers/docs/topics/gateway#privileged-intents} - */ -Intents.PRIVILEGED = Intents.FLAGS.GUILD_MEMBERS | Intents.FLAGS.GUILD_PRESENCES; - -/** - * Bitfield representing all intents combined - * @type {number} - */ -Intents.ALL = Object.values(Intents.FLAGS).reduce((acc, p) => acc | p, 0); - -/** - * Bitfield representing all non-privileged intents - * @type {number} - */ -Intents.NON_PRIVILEGED = Intents.ALL & ~Intents.PRIVILEGED; - module.exports = Intents; diff --git a/typings/index.d.ts b/typings/index.d.ts index a200f66f0..258f2df9a 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -804,9 +804,6 @@ export class IntegrationApplication extends Application { export class Intents extends BitField { public static FLAGS: Record; - public static PRIVILEGED: number; - public static ALL: number; - public static NON_PRIVILEGED: number; public static resolve(bit?: BitFieldResolvable): number; } diff --git a/typings/index.ts b/typings/index.ts index 8e538d4ad..77e49f49d 100644 --- a/typings/index.ts +++ b/typings/index.ts @@ -23,7 +23,7 @@ import { } from '..'; const client: Client = new Client({ - intents: Intents.NON_PRIVILEGED, + intents: Intents.FLAGS.GUILDS, makeCache: Options.cacheWithLimits({ MessageManager: 200, }),