fm01 is a Discord bot built to replace and improve upon its predecessor, FightMan01 bot. It's a versatile bot featuring moderation, utility, and fun commands.
-
Clone the repository
git clone https://github.com/fm01-bot/bot.git cd bot -
Create a
.envfile in the project root (follow the.env.exampletemplate) -
Create a
config.ymlfile following the structure ofconfig.yml.example -
Install PostgreSQL (if not running with docker), then:
- Create a user named
luminwith the password you defined above - Create a database named
lumin, preferably owned by theluminuser - Apply database migrations:
uv run alembic upgrade head
- Create a user named
-
Run the bot
uv run main.py
uv runwill automatically set up the virtual environment for you and download required dependencies from pyproject.toml.If you want to run the bot in debug mode, change the
debugvalue inconfig.ymltotrue.
We've provided a Dockerfile and a compose file in the Github repo. You can simply run docker compose up -d --build
to start the bot in a Docker container. Make sure to follow until step 3, because the bot still needs
the .env and config.yml files to function properly.
Version numbers follow MAJOR.MINOR.PATCH:
- MAJOR → Breaking changes (e.g., full module overhauls)
- Resets MINOR and PATCH to
0
- Resets MINOR and PATCH to
- MINOR → New features or updated command sets
- Resets PATCH to
0
- Resets PATCH to
- PATCH → Bugfixes, internal tweaks, or localization updates
⚠️ Version suffixes (e.g.,-beta,-dev) will not be present in the live bot.