mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-11 19:07:29 +03:00
global_listener docs + more notify types
This commit is contained in:
parent
e9bb850f73
commit
e4a602af20
1 changed files with 18 additions and 2 deletions
|
@ -14,9 +14,25 @@ BotiCord Websocket
|
||||||
.. automethod:: BotiCordWebsocket.listener()
|
.. automethod:: BotiCordWebsocket.listener()
|
||||||
:decorator:
|
:decorator:
|
||||||
|
|
||||||
|
.. automethod:: BotiCordWebsocket.global_listener()
|
||||||
|
:decorator:
|
||||||
|
|
||||||
|
|
||||||
Notification types
|
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)
|
.. function:: comment_removed(data)
|
||||||
|
|
||||||
Called when comment is deleted.
|
Called when comment is deleted.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue