# .add\_intent(IntentGatewayBits)

Adds an intent to the bot.

MUST BE RUN WITHIN THE define\_intents FUNCTION IN YOUR main.js FILE

Example

```javascript
const core = require('bit/core');
const { GatewayIntentBits } = require('discord.js');

module.exports = {
    define_intents: function define_intents() {
        // Adds the MessageContent intent
        // I recommend against adding this intent unless ABSOLUTELY required
        // This intent allows the bot to see Message Content and is ABSOLUTELY dangerous
        core.add_intent(GatewayIntentBits.MessageContent)
    }
}
```
