Packages@robojs/discordjs
validateIntents()
Function: validateIntents()
function validateIntents(configuredIntents, eventNames): {
missing: string[];
suggestions: string[];
valid: boolean;
}Validate that all required intents are present for given events.
Parameters
| Parameter | Type | Description |
|---|---|---|
configuredIntents | number | bigint | Bitfield of configured intents |
eventNames | string[] | Array of event names |
Returns
{
missing: string[];
suggestions: string[];
valid: boolean;
}Object with validation result and details
