Files
discord.js/packages/voice/src/index.ts
Almeida d587467a38 chore: use @link instead of markdown link in tsdocs (#8732)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 20:03:35 +00:00

30 lines
1.1 KiB
TypeScript

export * from './joinVoiceChannel';
export * from './audio/index';
export * from './util/index';
export * from './receive/index';
export {
VoiceConnection,
type VoiceConnectionState,
VoiceConnectionStatus,
type VoiceConnectionConnectingState,
type VoiceConnectionDestroyedState,
type VoiceConnectionDisconnectedState,
type VoiceConnectionDisconnectedBaseState,
type VoiceConnectionDisconnectedOtherState,
type VoiceConnectionDisconnectedWebSocketState,
VoiceConnectionDisconnectReason,
type VoiceConnectionReadyState,
type VoiceConnectionSignallingState,
} from './VoiceConnection';
export { type JoinConfig, getVoiceConnection, getVoiceConnections, getGroups } from './DataStore';
/**
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/voice/#readme | @discordjs/voice} version
* that you are currently using.
*/
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
export const version: string = '[VI]{{inject}}[/VI]';