All GatewayIntentBits?

Is there a way to add all intents?
8 Replies
Space²
Space²OP16mo ago
pls ping i wont see shit
-Carlos👑
-Carlos👑16mo ago
this is not recommended, you should only add the ones you need
Space²
Space²OP16mo ago
nerd ok ty
Lioness100
Lioness10016mo 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²OP16mo ago
Will this bomb shell my bot with events/data?
Lioness100
Lioness10016mo ago
yeah but performance hit is negligible
Space²
Space²OP16mo ago
ight. Will save for later. thank you sir 🥗
Lioness100
Lioness10016mo ago
you're welcome
Want results from more Discord servers?
Add your server