LogoRobo.js
Packages@robojs/discordjs

getIntentNames()

Function: getIntentNames()

function getIntentNames(intents): string[]

Get intent names from a set of intent bits.

Parameters

ParameterTypeDescription
intentsSet<GatewayIntentBits>Set of GatewayIntentBits

Returns

string[]

Array of intent names

On this page