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:
|
|
|
|
|
|
|
|
|
|
|
|
Notification types
|
|
|
|
-------------------
|
2023-07-02 22:12:05 +03:00
|
|
|
.. function:: up_added(data)
|
|
|
|
|
|
|
|
Called when up is added.
|
|
|
|
|
|
|
|
.. function:: comment_added(data)
|
|
|
|
|
|
|
|
Called when comment is added.
|
|
|
|
|
|
|
|
.. function:: comment_edited(data)
|
|
|
|
|
2023-07-04 12:55:57 +03:00
|
|
|
Called when comment is edited.
|
2023-06-27 16:24:03 +03:00
|
|
|
|
2023-07-02 22:12:05 +03:00
|
|
|
.. function:: comment_removed(data)
|
|
|
|
|
|
|
|
Called when comment is deleted.
|
|
|
|
|