17 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Oh dang
That's actual better then v13
So I understand that
What does this whole thing do, I understand gateway part but not partials
const client = new Client({ intents: [GatewayIntentBits.Guilds], partials: [Partials.Channel] });
So I don't really need them? still don't understand it.
Is it just the new way of doing like
Intents.FLAGS.GUILD_MESSAGES
those are intents
True
partials and intents aren’t the same
Alright I don't need partials then, never used them in v13 so
So all I need to do is GatewayBits.Guild for intents right? That's what it said in guide for bot to work correctly
you can also add other intents you need
Is that in the guide or
Tag suggestion for @techwithandrew:
• Websocket intents limit events and decrease memory usage: learn more
• See what intents you need here
V14 is nice just a pain to convert old code to
Is it the same way adding them in like the old way, just shorter words for intents
Like instead it would be like
GatewatIntentBits.GuildMessages, etc...
you can still use
'Guilds'
instead of GatewatIntentBits.Guilds
but it is recommended to use enumsI just want it to do the intents I picked in the app
So to add mine I can do
If not can you provide an example of what you mean by Enums