You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
voice
/
main
/
getGroups%3AFunction
Search...
K
voice
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
AudioPlayer
AudioPlayerError
AudioReceiveStream
AudioResource
PlayerSubscription
SpeakingMap
SSRCMap
VoiceConnection
VoiceReceiver
Functions
createAudioPlayer
createAudioResource
createDefaultAudioReceiveStreamOptions
demuxProbe
entersState
generateDependencyReport
getGroups
getVoiceConnection
getVoiceConnections
joinVoiceChannel
validateDiscordOpusHead
Enums
AudioPlayerStatus
EndBehaviorType
NoSubscriberBehavior
StreamType
VoiceConnectionDisconnectReason
VoiceConnectionStatus
Interfaces
AudioPlayer
AudioPlayerBufferingState
AudioPlayerIdleState
AudioPlayerPausedState
AudioPlayerPlayingState
AudioReceiveStreamOptions
CreateAudioPlayerOptions
CreateAudioResourceOptions
CreateVoiceConnectionOptions
DiscordGatewayAdapterImplementerMethods
DiscordGatewayAdapterLibraryMethods
JoinConfig
JoinVoiceChannelOptions
ProbeInfo
SpeakingMap
SSRCMap
VoiceConnection
VoiceConnectionConnectingState
VoiceConnectionDestroyedState
VoiceConnectionDisconnectedBaseState
VoiceConnectionDisconnectedOtherState
VoiceConnectionDisconnectedWebSocketState
VoiceConnectionReadyState
VoiceConnectionSignallingState
VoiceUserData
Types
AudioPlayerState
DiscordGatewayAdapterCreator
EndBehavior
VoiceConnectionDisconnectedState
VoiceConnectionState
Variables
version
getGroups
export declare function
getGroups
()
:
Map
<
string
,
Map
<
string
,
VoiceConnection
>>;
export declare function
getGroups
()
:
Map
<
string
,
Map
<
string
,
VoiceConnection
>>;
Summary
Retrieves the map of group names to maps of voice connections. By default, all voice connections are created under the 'default' group.
Returns
The group map