21Z
21Z
DIAdiscord.js - Imagine an app
Created by 21Z on 3/22/2023 in #djs-questions
What's the difference between GatewayIntentBits.Guilds and using 'Guilds'
in discord.js v13 i can see it was Intents.FLAGS.GUILDS in discord.js v14 it's changed to GatewayIntentBits.Guilds but... using just 'Guilds' works too. so then why should i use GatewayIntentBits, will the old method ('Guilds') be removed in the future? Does it improve performance? the same goes to ActivityType, PermissionsBitField etc..
36 replies