feat: update Discord developer documentation links and add new flags

#9473 djs
This commit is contained in:
Elysia
2023-04-29 19:20:14 +07:00
parent 3b793e80cd
commit 2bde69f8d1
6 changed files with 11 additions and 4 deletions

View File

@@ -752,7 +752,7 @@ class WebSocketShard extends EventEmitter {
/**
* Adds a packet to the queue to be sent to the gateway.
* <warn>If you use this method, make sure you understand that you need to provide
* a full [Payload](https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-commands).
* a full [Payload](https://discord.com/developers/docs/topics/gateway-events#payload-structure).
* Do not use this method if you don't know what you're doing.</warn>
* @param {Object} data The full packet to send
* @param {boolean} [important=false] If this packet should be added first in queue