Updated readme
This commit is contained in:
parent
4638eecc67
commit
19682c4938
|
|
@ -7,6 +7,8 @@ The modern [Lavalink](https://github.com/freyacodes/Lavalink) wrapper designed f
|
||||||
# Install
|
# Install
|
||||||
To install the library, you need the lastest version of pip and minimum Python 3.8
|
To install the library, you need the lastest version of pip and minimum Python 3.8
|
||||||
|
|
||||||
|
(Note: This library as of now does not support discord.py 2.0, you must use any version lower than discord.py 1.7.3 for this library to work properly.)
|
||||||
|
|
||||||
> Stable version
|
> Stable version
|
||||||
```
|
```
|
||||||
pip install pomice
|
pip install pomice
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ class Node:
|
||||||
self._spotify_client: spotify.Client = spotify.Client(self._spotify_client_id, self._spotify_client_secret)
|
self._spotify_client: spotify.Client = spotify.Client(self._spotify_client_id, self._spotify_client_secret)
|
||||||
self._spotify_http_client: spotify.HTTPClient = spotify.HTTPClient(self._spotify_client_id, self._spotify_client_secret)
|
self._spotify_http_client: spotify.HTTPClient = spotify.HTTPClient(self._spotify_client_id, self._spotify_client_secret)
|
||||||
|
|
||||||
self._bot.add_listener(self._update_handler, "on_socket_response")
|
self._bot.add_listener(self._update_handler, "on_socket_event_type")
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"<Pomice.node ws_uri={self._websocket_uri} rest_uri={self._rest_uri} player_count={len(self._players)}>"
|
return f"<Pomice.node ws_uri={self._websocket_uri} rest_uri={self._rest_uri} player_count={len(self._players)}>"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue