Static Public Attributes | |
| float | message_cooldown = 0.1 |
| float | room_join_cooldown = 5 |
| float | room_creation_cooldown = 30 |
A class representing the rate limits of bot actions (to prevent get blocked by the API). The original server's limits are: - 1000 requests per minute - 30 second cooldown on creating rooms - message length and frequency limits Composed of: - message_cooldown: The cooldown in seconds between messages. - room_join_cooldown: The cooldown in seconds between joining rooms. - room_creation_cooldown: The cooldown in seconds between creating rooms.
Definition at line 5 of file rate_limits.py.
|
static |
Definition at line 21 of file rate_limits.py.
|
static |
Definition at line 23 of file rate_limits.py.
|
static |
Definition at line 22 of file rate_limits.py.