mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 21:35:19 +00:00
12 lines
297 B
Bash
Executable File
12 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
# Script to start the Talia Bot with correct PYTHONPATH
|
|
|
|
# Get the directory of the script
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# Set PYTHONPATH to include the parent directory
|
|
export PYTHONPATH="$PYTHONPATH:$DIR/.."
|
|
|
|
# Run the bot
|
|
python3 "$DIR/talia_bot/main.py"
|