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

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

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

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

Parameters

optional
privileged: PrivilegedIntents[]
optional
disable: number[]

Returns

number[]