Added examples and updated README

This commit is contained in:
cloudwithax 2021-10-17 12:07:39 -04:00
commit abfcfd04a0
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class TrackExceptionEvent(PomiceEvent):
return f"<Pomice.TrackExceptionEvent> 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"<Pomice.WebsocketClosedEvent reason={self.reason} code={self.code}>"
class WebsocketOpenEvent(PomiceEvent):
class WebSocketOpenEvent(PomiceEvent):
"""Fired when a websocket connection to a node has been initiated.
Returns the target and the session SSRC.
"""