Files
bot/test/entrypoint.sh
syui 3910cf754c
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
fix docker
2025-12-13 10:37:22 +09:00

16 lines
309 B
Bash

#!/bin/zsh
set -e
echo "Starting aibot..."
echo "ADMIN: ${ADMIN:-not set}"
echo "HOST: ${HOST:-bsky.social}"
# 設定ファイルの存在確認
if [ ! -f ~/.config/syui/ai/bot/token.toml ]; then
echo "Warning: token.toml not found. Please login first."
fi
# botを起動
exec aibot bot -a "${ADMIN}"