LogoRobo.js
Packages@robojs/discordjs

checkIntents()

Function: checkIntents()

function checkIntents(client, events): void

Check if the client has the required intents for registered events. Logs warnings for any missing intents.

Parameters

ParameterTypeDescription
clientClient<boolean>Discord.js client instance
eventsRecord<string, unknown[]>Map of event names to handler records

Returns

void

On this page