@types/Player
Table of contents
Type Aliases
Type Aliases
PlayOptions
Ƭ PlayOptions: Object
Type declaration
Name | Type |
---|---|
endTime? | number |
noReplace? | boolean |
pause? | boolean |
startTime? | number |
Defined in
PlayerOptions
Ƭ PlayerOptions: Object
Main constructor options
Type declaration
Name | Type | Description |
---|---|---|
guildId | string | The guild id that player belongs to |
queue? | Queue | The queue object that player will use |
selfDeaf? | boolean | Whether the bot joins the voice channel deafened or not |
selfMute? | boolean | Whether the bot joins the voice channel muted or not |
textChannelId? | string | The text channel id |
voiceChannelId | string | The voice channel id |
Defined in
VoiceState
Ƭ VoiceState: Object
Type declaration
Name | Type |
---|---|
event? | VoiceServerUpdateData |
sessionId? | string |