aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorGuillermo Serrahima <dev@vylion.com>2026-02-04 12:35:14 +0100
committerGuillermo Serrahima <dev@vylion.com>2026-02-04 12:35:14 +0100
commitd85b8fbbf0c2baf7c79c344b74115f8c319262b1 (patch)
tree5d13acadf2fe398d0022faa70b587b3363ecb7aa /main.py
parente45e87106a51a17c2b19f7c8704b5a0ef436597d (diff)
downloadvelascobot2-d85b8fbbf0c2baf7c79c344b74115f8c319262b1.tar.xz
velascobot2-d85b8fbbf0c2baf7c79c344b74115f8c319262b1.zip
TweaksHEADmain
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 37c5d12..98c9fe6 100644
--- a/main.py
+++ b/main.py
@@ -20,7 +20,7 @@ def load_config(config_path: Path | None) -> dict:
def run_bot(bot: Bot) -> None:
asyncio.run(bot.wake_up())
- bot.app.run_polling(poll_interval=1.0)
+ bot.app.run_polling(poll_interval=0.5)
assert "@" + bot.app.bot.username == bot.messenger.username
@@ -52,7 +52,7 @@ def main(config: Path | None, token: str | None) -> None:
reply = cfg.get("messenger", {}).get("reply", 0.1)
repeat = cfg.get("messenger", {}).get("repeat", 0.05)
wake_up = cfg.get("messenger", {}).get("wake_up", False)
- mute_time = cfg.get("messenger", {}).get("mute_time", 60)
+ mute_time = cfg.get("messenger", {}).get("mute_time", 120)
max_len = cfg.get("messenger", {}).get("max_len", 50)
motd_chats = cfg.get("bot", {}).get("motd_chats", [])