Skip to content

Commit 9a29ad8

Browse files
committed
Add types in event reference
1 parent cdedec1 commit 9a29ad8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ Event reference
3939
Called when autopost raises an exception during server count posting.
4040

4141
:param exception: The raised exception object.
42+
:type exception: Exception
4243

4344
.. function:: on_dbl_vote(data)
4445
on_dsl_vote(data)
4546

4647
Called when someone votes for your bot on Top.gg.
4748

48-
:param data: The data with vote info returned in dict object.
49+
:param data: The data with vote info returned.
50+
:type data: dict
4951

5052
Example: ::
5153

0 commit comments

Comments
 (0)