Skip to main content
Version: v1.3.3

@types/Player

Table of contents

Type Aliases

Type Aliases

PlayOptions

Ƭ PlayOptions: Object

Type declaration

NameType
endTime?number
noReplace?boolean
pause?boolean
startTime?number

Defined in

@types/Player.types.ts:26


PlayerOptions

Ƭ PlayerOptions: Object

Main constructor options

Type declaration

NameTypeDescription
guildIdstringThe guild id that player belongs to
queue?QueueThe queue object that player will use
selfDeaf?booleanWhether the bot joins the voice channel deafened or not
selfMute?booleanWhether the bot joins the voice channel muted or not
textChannelId?stringThe text channel id
voiceChannelIdstringThe voice channel id

Defined in

@types/Player.types.ts:6


VoiceState

Ƭ VoiceState: Object

Type declaration

NameType
event?VoiceServerUpdateData
sessionId?string

Defined in

@types/Player.types.ts:21