From b8c263166f384945a73cc9d2395a144def291c02 Mon Sep 17 00:00:00 2001 From: vveeps <54472340+vveeps@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:25:54 +0300 Subject: [PATCH] fix websocket event class names https://github.com/freyacodes/Lavalink/blob/master/IMPLEMENTATION.md#incoming-messages --- pomice/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pomice/events.py b/pomice/events.py index 209e59c..822fdbe 100644 --- a/pomice/events.py +++ b/pomice/events.py @@ -82,7 +82,7 @@ class TrackExceptionEvent(PomiceEvent): return f" error={self.error} exeception={self.exception}" -class WebsocketClosedEvent(PomiceEvent): +class WebSocketClosedEvent(PomiceEvent): """Fired when a websocket connection to a node has been closed. Returns the reason and the error code. """ @@ -99,7 +99,7 @@ class WebsocketClosedEvent(PomiceEvent): return f"" -class WebsocketOpenEvent(PomiceEvent): +class WebSocketOpenEvent(PomiceEvent): """Fired when a websocket connection to a node has been initiated. Returns the target and the session SSRC. """