Manage Atom feeds in a persistent git repository

trim

Changed files
-30
bot-config
-30
bot-config/run-bot.sh
···
-
#!/bin/bash
-
-
# Script to run the Thicket Zulip bot
-
# Usage: ./run-bot.sh [config-file]
-
-
set -e
-
-
# Default configuration file
-
CONFIG_FILE="${1:-./zuliprc}"
-
-
# Check if config file exists
-
if [ ! -f "$CONFIG_FILE" ]; then
-
echo "Error: Configuration file '$CONFIG_FILE' not found."
-
echo "Please copy zuliprc.template to zuliprc and fill in your bot credentials."
-
exit 1
-
fi
-
-
# Check if we're in the right directory
-
if [ ! -f "pyproject.toml" ]; then
-
echo "Error: Please run this script from the thicket project root directory."
-
exit 1
-
fi
-
-
echo "Starting Thicket Zulip bot with config: $CONFIG_FILE"
-
echo "Bot will be available as @thicket in your Zulip chat."
-
echo "Type Ctrl+C to stop the bot."
-
echo ""
-
-
# Run the bot using zulip-run-bot
-
uv run zulip-run-bot src/thicket/bots/thicket_bot.py --config-file "$CONFIG_FILE"