You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/popular-topics/intents.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Please make sure to provide the list of gateway intents and partials you use in
50
50
51
51
## The Intents Bitfield
52
52
53
-
discord.js provides the utility structure <docs-linkpath="class/IntentsBitField">`IntentsBitField`</docs-link> to simplify the modification of intents bitfields.
53
+
discord.js provides the utility structure <DocsLinkpath="IntentsBitField:Class"/> to simplify the modification of intents bitfields.
54
54
55
55
You can use the `.add()` and `.remove()` methods to add or remove flags (Intents string literals representing a certain bit) and modify the bitfield. You can provide single flags as well as an array or bitfield. To use a set of intents as a template you can pass it to the constructor. Note that the empty constructor `new IntentsBitField()` creates an empty Intents instance, representing no intents or the bitfield `0`:
0 commit comments