From fa434f8ff2466e7b19a0992fd978d78603595269 Mon Sep 17 00:00:00 2001 From: Crussader <75786691+Crussader@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:51:40 +0400 Subject: [PATCH] changed MISSING to None --- pomice/player.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pomice/player.py b/pomice/player.py index d0fdbb2..a0b62c2 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -11,7 +11,7 @@ from .exceptions import TrackInvalidPosition from .filters import Filter from .pool import Node, NodePool from .objects import Track -from .utils import ClientType, MISSING +from .utils import ClientType class Player(VoiceProtocol): """The Default Basic Player class for Pomice. @@ -27,7 +27,7 @@ class Player(VoiceProtocol): return self - def __init__(self, client : ClientType = MISSING, channel : VoiceChannel = MISSING, **kwargs): + def __init__(self, client : ClientType = None, channel : VoiceChannel = None, **kwargs): # self.client self._bot = client @@ -44,7 +44,7 @@ class Player(VoiceProtocol): self._last_update = 0 self._voice_state = {} - self._extra = kwargs or {} # all custom attributes you want to store + self._extra = kwargs or {} # all custom attributes you want to store ? can change this later self._current: Track = None self._filter: Filter = None