Merge pull request #46 from SCARTAL/patch-4
`spotify_client_id` data type correction
This commit is contained in:
commit
5445661f42
|
|
@ -365,7 +365,7 @@ await Player.stop()
|
||||||
|
|
||||||
To move the player to another channel, we need to use `Player.move_to()`
|
To move the player to another channel, we need to use `Player.move_to()`
|
||||||
|
|
||||||
```py
|
```py
|
||||||
|
|
||||||
await Player.move_to(...)
|
await Player.move_to(...)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ class Node:
|
||||||
heartbeat: int = 30,
|
heartbeat: int = 30,
|
||||||
loop: Optional[asyncio.AbstractEventLoop] = None,
|
loop: Optional[asyncio.AbstractEventLoop] = None,
|
||||||
session: Optional[aiohttp.ClientSession] = None,
|
session: Optional[aiohttp.ClientSession] = None,
|
||||||
spotify_client_id: Optional[int] = None,
|
spotify_client_id: Optional[str] = None,
|
||||||
spotify_client_secret: Optional[str] = None,
|
spotify_client_secret: Optional[str] = None,
|
||||||
apple_music: bool = False,
|
apple_music: bool = False,
|
||||||
fallback: bool = False,
|
fallback: bool = False,
|
||||||
|
|
@ -159,7 +159,7 @@ class Node:
|
||||||
|
|
||||||
self._players: Dict[int, Player] = {}
|
self._players: Dict[int, Player] = {}
|
||||||
|
|
||||||
self._spotify_client_id: Optional[int] = spotify_client_id
|
self._spotify_client_id: Optional[str] = spotify_client_id
|
||||||
self._spotify_client_secret: Optional[str] = spotify_client_secret
|
self._spotify_client_secret: Optional[str] = spotify_client_secret
|
||||||
|
|
||||||
self._apple_music_client: Optional[applemusic.Client] = None
|
self._apple_music_client: Optional[applemusic.Client] = None
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue