# package manager
uv -
Clone the repository
-
Create a virtual environment:
uv venv .venv
-
Activate the virtual environment:
source env/bin/activate -
Install dependencies:
uv sync
Create a .env file in the project root and add your bot token:
TOKEN=your_bot_token
// DEFAULT IS OPENAI
OPENAI_API_KEY=<token>
GEMINI_API_KEY=<token># Run the bot
python main.py
# Run with auto-restart on file changes
watchmedo auto-restart --recursive --pattern="*.py" -- python main.pyIn your Discord server, run:
$index
$index— Indexes thefaq.jsonfile$reload_index— Reloads the BM25 index$sync— Syncs slash commands