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:
Almeida
2025-05-26 18:41:08 +01:00
committed by GitHub
parent c1f5bb2fba
commit 78d512c347
19 changed files with 533 additions and 804 deletions

View File

@@ -304,14 +304,14 @@ export class AudioPlayer extends EventEmitter {
/**
* The state that the player is in.
*
* @remarks
* The setter will perform clean-up operations where necessary.
*/
public get state() {
return this._state;
}
/**
* Sets a new state for the player, performing clean-up operations where necessary.
*/
public set state(newState: AudioPlayerState) {
const oldState = this._state;
const newResource = Reflect.get(newState, 'resource') as AudioResource | undefined;

View File

@@ -17,4 +17,4 @@ export { AudioResource, type CreateAudioResourceOptions, createAudioResource } f
export { PlayerSubscription } from './PlayerSubscription';
export { StreamType } from './TransformerGraph';
export { StreamType, type Edge, TransformerType, Node } from './TransformerGraph';