boticordpy/docs/source/websocket.rst

39 lines
677 B
ReStructuredText
Raw Normal View History

2023-06-27 16:24:03 +03:00
.. currentmodule:: boticordpy.websocket
###########
WebSocket
###########
BotiCord Websocket
-------------------
.. autoclass:: BotiCordWebsocket
:exclude-members: listener
:inherited-members:
.. automethod:: BotiCordWebsocket.listener()
:decorator:
.. automethod:: BotiCordWebsocket.global_listener()
:decorator:
2023-06-27 16:24:03 +03:00
Notification types
-------------------
.. function:: up_added(data)
Called when up is added.
.. function:: comment_added(data)
Called when comment is added.
.. function:: comment_edited(data)
Called when comment is deleted.
2023-06-27 16:24:03 +03:00
.. function:: comment_removed(data)
Called when comment is deleted.