From c07543386d8025c7f71eda93775cef60d3c0696d Mon Sep 17 00:00:00 2001 From: nanobot Date: Sun, 6 Sep 2026 22:38:32 +0800 Subject: [PATCH] deploy: include matrix channel in dependency + channel gates --- scripts/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 28acceaa..600558d6 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -22,9 +22,9 @@ SERVICE="nanobot" # importable in the venv BEFORE the service is touched, and (2) after restart, # every expected channel shows up in the startup "Channels enabled" line and # nothing logs "Unknown channel". Keep these in sync with config.json. -REQUIRED_IMPORTS="telegram websockets" # python module names -REQUIRED_PACKAGES="python-telegram-bot websockets" # matching PyPI names (module 'telegram' != package 'telegram'!) -REQUIRED_CHANNELS="telegram websocket" # expected in 'Channels enabled:' startup line +REQUIRED_IMPORTS="telegram websockets nio" # python module names (nio = matrix-nio) +REQUIRED_PACKAGES="python-telegram-bot websockets matrix-nio" # matching PyPI names (module 'telegram' != package 'telegram'!) +REQUIRED_CHANNELS="telegram websocket matrix" # expected in 'Channels enabled:' startup line export XDG_RUNTIME_DIR=/run/user/1000 log() { echo "[deploy] $(date '+%H:%M:%S') $*"; }