Packages@robojs/discordjs
getIntentNames()
Function: getIntentNames()
function getIntentNames(intents): string[]Get intent names from a set of intent bits.
Parameters
| Parameter | Type | Description |
|---|---|---|
intents | Set<GatewayIntentBits> | Set of GatewayIntentBits |
Returns
string[]
Array of intent names
