talkomatic.py 0.1.2
An easy-to-use Python versatile wrapper for the Talkomatic Bot interface ensuring best practices for making bots, and handling the REST API.
 
Loading...
Searching...
No Matches
talkomatic.api.v1.config.ServerConfig Class Reference

Public Member Functions

"ServerConfig" get (cls)
 

Detailed Description

A class representing the Talkomatic server configuration.

Composed of:
- max_username_length: The maximum length of a username.
- max_afk_time: The maximum time for inactivity before the user gets kicked (in milliseconds).
- max_location_length: The maximum length of a location.
- max_room_name_length: The maximum length of a room name.
- max_message_length: The maximum length of a message.
- max_room_capacity: The maximum number of users in a room.
- max_connections_per_ip: The maximum number of connections per IP.
- socket_max_requests_window: The maximum number of requests per window.
- socket_max_requests_per_window: The maximum number of requests per window.
- chat_update_rate_limit: The maximum number of chat updates per minute.
- typing_rate_limit: The maximum number of typing updates per minute.
- connection_delay: The delay in milliseconds between a user connecting and the first chat update.
- word_filter_enabled: Whether the word filter is enabled.
- api_version: The version of the API.
- server_version: The version of the server.

Definition at line 9 of file config.py.

Member Function Documentation

◆ get()

"ServerConfig" talkomatic.api.v1.config.ServerConfig.get ( cls)

Definition at line 48 of file config.py.


The documentation for this class was generated from the following file: