mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
fix(docslink): partialtypes (#3510)
This commit is contained in:
parent
79133b4d5e
commit
c3228b4263
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue