Methods that are provided by the implementer of a Discord gateway DiscordGatewayAdapter.
This will be called by discordjs/voice when the adapter can safely be destroyed as it will no longer be used.
Implement this method such that the given payload is sent to the main Discord gateway connection.
Returns
false
if the payload definitely failed to send - in this case, the voice connection disconnectsName | Type | Optional | Description |
---|---|---|---|
payload | any | No | The payload to send to the main Discord gateway connection |