summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorElizabeth (Lizzy) Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 16:28:27 -0700
committerGitHub <noreply@github.com>2023-05-29 16:28:27 -0700
commiteec32aa38a8762eccc8575a37a628bd5ae2cc1d0 (patch)
tree27f656780f5d25325c9ac0ec3db3557d774bf414 /config
parent8a5a2f358cb1f63a255b2daf6908536583986448 (diff)
downloadchessh-eec32aa38a8762eccc8575a37a628bd5ae2cc1d0.tar.gz
chessh-eec32aa38a8762eccc8575a37a628bd5ae2cc1d0.zip
Bots (#23)
* squash all the things for bots * fix warnings * change colors a bit and README updates * fix frontend warnings
Diffstat (limited to 'config')
-rw-r--r--config/config.exs5
1 files changed, 4 insertions, 1 deletions
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",