Skip to content

Commit c85dd17

Browse files
authored
Merge branch 'main' into v15
2 parents ba3ff4f + 67e127a commit c85dd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/popular-topics/intents.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Please make sure to provide the list of gateway intents and partials you use in
5050

5151
## The Intents Bitfield
5252

53-
discord.js provides the utility structure <docs-link path="class/IntentsBitField">`IntentsBitField`</docs-link> to simplify the modification of intents bitfields.
53+
discord.js provides the utility structure <DocsLink path="IntentsBitField:Class"/> to simplify the modification of intents bitfields.
5454

5555
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`:
5656

0 commit comments

Comments
 (0)