1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-19 01:26:36 +02:00

get_status returns a string rather than an integer.

This commit is contained in:
jakob
2017-05-17 08:37:05 -04:00
parent 7d3d129624
commit 02ea0fac44
3 changed files with 20 additions and 7 deletions

View File

@ -31,9 +31,9 @@ State
.. function:: get_status()
Return the user's current status. 0 indicates online and available, 1 indicates away, and 2 indicates busy.
Return a string representing the user's current status. Can be either "online", "away", or "busy".
:rtype: int
:rtype: string
.. function:: get_status_message()