Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

Repository files navigation

FluxMod-Bot

Local setup

  1. Install dependencies:
uv sync
  1. Configure .env:
TOKEN=your_bot_token

MONGODB_URI=mongodb://127.0.0.1:27017/
DB_NAME=mongoDB
COLLECTION_NAME=local
  1. Start the bot:
uv run python bot.py

UV workflow

Use these as the canonical project commands:

# Update lockfile after dependency changes
uv lock

# Sync environment from pyproject.toml + uv.lock
uv sync

# Run the bot with the project environment
uv run python bot.py

uv ruff & pyright

Please make sure you run these commands before pushing

# Ruff Check
uvx ruff check . --fix

# PyRight Check
uv run pyright .

If TOKEN is missing, the bot now exits with a clear startup message.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages