Updated readme

This commit is contained in:
cloudwithax 2021-10-03 13:58:35 -04:00
parent 4638eecc67
commit 19682c4938
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)}>"