Is requiring intents deprecated or something?

I have been using require {GatewayIntentBits: Intents} = require('discord.js') but it seems to accept intents directly in the intent options. When was this changed?
1 Reply
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server