mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
fix(docslink): partialtypes (#3510)
This commit is contained in:
@@ -6,7 +6,7 @@ discard the event. With partials, you're able to receive the event, with a Messa
|
|||||||
|
|
||||||
## Opting in
|
## Opting in
|
||||||
|
|
||||||
Partials are opt-in, and you can enable them in the Client options by specifying [PartialTypes](../typedef/PartialType):
|
Partials are opt-in, and you can enable them in the Client options by specifying [PartialTypes](/#/docs/main/master/typedef/PartialType):
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// Accept partial messages and DM channels when emitting events
|
// Accept partial messages and DM channels when emitting events
|
||||||
@@ -58,4 +58,4 @@ bot or any bot that relies on still receiving updates to resources you don't hav
|
|||||||
good example.
|
good example.
|
||||||
|
|
||||||
Currently, the only type of channel that can be uncached is a DM channel, there is no reason why guild channels should
|
Currently, the only type of channel that can be uncached is a DM channel, there is no reason why guild channels should
|
||||||
not be cached.
|
not be cached.
|
||||||
|
|||||||
Reference in New Issue
Block a user