Represents a subscription of a voice connection to an audio player, allowing the audio player to play audio on the voice connection.
Constructs a new instance of the
PlayerSubscription class| Name | Type | Optional | Description |
|---|---|---|---|
| connection | VoiceConnection | No | None |
| player | AudioPlayer | No | None |