mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 05:15:18 +00:00
12 lines
334 B
Bash
Executable File
12 lines
334 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 )"
|
|
|
|
# Ensure the project root is on PYTHONPATH so absolute imports resolve
|
|
export PYTHONPATH="$DIR:${PYTHONPATH}"
|
|
|
|
# Run the bot using the package entrypoint
|
|
python3 -m bot.main
|