mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs: export all visible symbols (#10760)
* docs: export all visible symbols * fix: discord.js except raw * refactor: remove raw data types * docs: add back discord.js tsdoc file * refactor: remove underscores * fix: merge * docs(RPCRedis): make `promises` as internal --------- Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -272,14 +272,14 @@ export class VoiceConnection extends EventEmitter {
|
||||
|
||||
/**
|
||||
* The current state of the voice connection.
|
||||
*
|
||||
* @remarks
|
||||
* The setter will perform clean-up operations where necessary.
|
||||
*/
|
||||
public get state() {
|
||||
return this._state;
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the state of the voice connection, performing clean-up operations where necessary.
|
||||
*/
|
||||
public set state(newState: VoiceConnectionState) {
|
||||
const oldState = this._state;
|
||||
const oldNetworking = Reflect.get(oldState, 'networking') as Networking | undefined;
|
||||
|
||||
Reference in New Issue
Block a user