Skip to content

Commit 67e127a

Browse files
committed
fix(intents): DocsLink correction
Resolves #1609.
1 parent f443d5b commit 67e127a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/popular-topics/intents.md

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy