From eec32aa38a8762eccc8575a37a628bd5ae2cc1d0 Mon Sep 17 00:00:00 2001 From: "Elizabeth (Lizzy) Hunt" Date: Mon, 29 May 2023 16:28:27 -0700 Subject: Bots (#23) * squash all the things for bots * fix warnings * change colors a bit and README updates * fix frontend warnings --- config/config.exs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.exs b/config/config.exs index 11c0a93..33f88cb 100644 --- a/config/config.exs +++ b/config/config.exs @@ -7,6 +7,7 @@ config :chessh, ascii_chars_json_file: Path.join(Path.dirname(__DIR__), "priv/ascii_chars.json") config :chessh, RateLimits, + player_bots: 2, jail_timeout_ms: 5 * 60 * 1000, jail_attempt_threshold: 15, max_concurrent_user_sessions: 5, @@ -16,7 +17,9 @@ config :chessh, RateLimits, create_game_ms: 60 * 1000, create_game_rate: 3, discord_notification_rate: 30, - discord_notification_rate_ms: 1000 + discord_notification_rate_ms: 1000, + bot_redrive_rate: 1, + bot_redrive_rate_ms: 30_000 config :chessh, Web, discord_oauth_login_url: "https://discord.com/api/oauth2/token", -- cgit v1.2.3-70-g09d2