Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/utils/intents.ts>Intents

An easy to use Discord API Library for Deno.
Go to Latest
class Intents
import { Intents } from "https://deno.land/x/harmony@v2.8.0/src/utils/intents.ts";

Utility class for handling Gateway Intents

Static Properties

All: number[]
GuildMembers: number[]
None: number[]
NonPrivileged: number[]
Presence: number[]

Static Methods

create(privileged?: PrivilegedIntents[], disable?: number[]): number[]

Create an Array of Intents easily passing Intents you're privileged for and disable the ones you don't need