From f9bf268c89dd41ead0ffc179456223f2246a59c0 Mon Sep 17 00:00:00 2001 From: Clxud <71564480+cloudwithax@users.noreply.github.com> Date: Fri, 21 Apr 2023 12:20:01 -0400 Subject: [PATCH] Update player.md --- docs/hdi/player.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/hdi/player.md b/docs/hdi/player.md index 53cff82..7deefa4 100644 --- a/docs/hdi/player.md +++ b/docs/hdi/player.md @@ -361,6 +361,27 @@ await Player.stop() ``` +### Moving the player to another channel + +To move the player to another channel, we need to use `Player.move_to()` + +```py + +await Player.move_to(...) + +``` + +After you have initialized your function, we need to include the `channel` parameter, which is a `VoiceChannel`: + +```py + +await Player.move_to(channel) + +``` + +After running this function, your player should be in the new voice channel. All voice state updates should also be handled. + + ## Controlling filters Pomice has an extensive suite of filter management tools to help you make the most of Lavalink and it's filters.