this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

trim

-30
-30
bot-config/run-bot.sh
··· 1 - #!/bin/bash 2 - 3 - # Script to run the Thicket Zulip bot 4 - # Usage: ./run-bot.sh [config-file] 5 - 6 - set -e 7 - 8 - # Default configuration file 9 - CONFIG_FILE="${1:-./zuliprc}" 10 - 11 - # Check if config file exists 12 - if [ ! -f "$CONFIG_FILE" ]; then 13 - echo "Error: Configuration file '$CONFIG_FILE' not found." 14 - echo "Please copy zuliprc.template to zuliprc and fill in your bot credentials." 15 - exit 1 16 - fi 17 - 18 - # Check if we're in the right directory 19 - if [ ! -f "pyproject.toml" ]; then 20 - echo "Error: Please run this script from the thicket project root directory." 21 - exit 1 22 - fi 23 - 24 - echo "Starting Thicket Zulip bot with config: $CONFIG_FILE" 25 - echo "Bot will be available as @thicket in your Zulip chat." 26 - echo "Type Ctrl+C to stop the bot." 27 - echo "" 28 - 29 - # Run the bot using zulip-run-bot 30 - uv run zulip-run-bot src/thicket/bots/thicket_bot.py --config-file "$CONFIG_FILE"