Skip to main content
Module

x/harmony/mod.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.9.0/mod.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[]