Link Search Menu Expand Document

Intents

Data structure that makes it easy to calculate intents.

Usage

const { Intents } = require('modmail.js')
...
{
  clientIntents: [ Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.GUILD_MESSAGE_REACTIONS, Intents.FLAGS.DIRECT_MESSAGES ]
}

More Information

Read Discord.js Docs To Learn More


Table of contents


    Copyright © by Bot Studios. A documentation made by the contributors of modmail.js for its users.