All GatewayIntentBits?

Is there a way to add all intents?
8 Replies
Space²
Space²OP17mo ago
pls ping i wont see shit
-Carlos👑
-Carlos👑17mo ago
this is not recommended, you should only add the ones you need
Space²
Space²OP17mo ago
nerd ok ty
Lioness100
Lioness10017mo ago
@spacebanane but if you want to be lawful evil, it would be
import { Client, GatewayIntentBits } from 'discord.js';

const client = new Client({
// or just 3276799, since that's what it resolves to
intents: Object.values(GatewayIntentBits).reduce((acc, p) => acc | p, 0)
});
import { Client, GatewayIntentBits } from 'discord.js';

const client = new Client({
// or just 3276799, since that's what it resolves to
intents: Object.values(GatewayIntentBits).reduce((acc, p) => acc | p, 0)
});
Don't tell anyone I told you evilpatrick
Space²
Space²OP17mo ago
Will this bomb shell my bot with events/data?
Lioness100
Lioness10017mo ago
yeah but performance hit is negligible
Space²
Space²OP17mo ago
ight. Will save for later. thank you sir 🥗
Lioness100
Lioness10017mo ago
you're welcome
Want results from more Discord servers?
Add your server