From 91e8922435401b97be306e6f54dfea88791342b2 Mon Sep 17 00:00:00 2001 From: Crussader <75786691+Crussader@users.noreply.github.com> Date: Wed, 20 Oct 2021 20:58:22 +0400 Subject: [PATCH] Update player.py --- pomice/player.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pomice/player.py b/pomice/player.py index 8349a32..381eea5 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -22,6 +22,9 @@ class BasePlayer(VoiceProtocol): def __call__(self, client: discord.Client, channel: VoiceChannel): self.client: discord.Client = client self.channel : VoiceChannel = channel + + return self + def __init__(self, client : Type[Client] = MISSING, channel: VoiceChannel = MISSING):