All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
16 lines
309 B
Bash
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}"
|