From e4a602af2045944504dbe3cbc7f9ef824099c6b1 Mon Sep 17 00:00:00 2001 From: MadCat9958 Date: Sun, 2 Jul 2023 22:12:05 +0300 Subject: [PATCH] global_listener docs + more notify types --- docs/source/websocket.rst | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/source/websocket.rst b/docs/source/websocket.rst index 5fcc5ec..2c14bdb 100644 --- a/docs/source/websocket.rst +++ b/docs/source/websocket.rst @@ -13,10 +13,26 @@ BotiCord Websocket .. automethod:: BotiCordWebsocket.listener() :decorator: + + .. automethod:: BotiCordWebsocket.global_listener() + :decorator: Notification types ------------------- -.. function:: comment_removed(data) +.. 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. - Called when comment is deleted. \ No newline at end of file +.. function:: comment_removed(data) + + Called when comment is deleted. +