boticordpy/docs/source/websocket.rst
2023-07-04 12:51:47 +03:00

35 lines
596 B
ReStructuredText

.. currentmodule:: boticordpy.websocket
###########
WebSocket
###########
BotiCord Websocket
-------------------
.. autoclass:: BotiCordWebsocket
:exclude-members: listener
:inherited-members:
.. automethod:: BotiCordWebsocket.listener()
:decorator:
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.
.. function:: comment_removed(data)
Called when comment is deleted.