mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
Tux is an all in one bot for the All Things Linux discord server.
asynciodiscorddiscord-pydockerdotenvhttpxjustlinuxlogurumkdocs-materialmypypoetrypre-commitprismapyrightpythonrenovateruffsupabase
7b117b1060
feat: add dependabot.yml for weekly updates of GitHub Actions chore: update Python version from 3.11 to 3.12 in .mise.toml and pyproject.toml chore: update various dependencies in pyproject.toml to their latest versions feat: add dependency-review.yml for automated dependency review on pull requests and weekly schedule feat: add docker-compose.yml for setting up bot and postgres services in Docker environment |
||
---|---|---|
.github | ||
config | ||
docs | ||
prisma | ||
tests | ||
tmp | ||
tux | ||
.editorconfig | ||
.env.example | ||
.gitignore | ||
.mise.toml | ||
.pre-commit-config.yaml | ||
LICENSE.md | ||
mypy.ini | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
renovate.json | ||
tux.service |
Tux
A Discord bot for the All Things Linux Discord server
About
Tux is a Discord bot for the All Things Linux Discord server. It is designed to provide a variety of features to the server, including moderation, support, utility, and various fun commands. The bot is written in Python using the discord.py library.
Installation
Prerequisites
- Python 3.11
- Poetry
Steps
-
Clone the repository
git clone https://github.com/allthingslinux/tux && cd tux
-
Install the dependencies
poetry install
-
Activate the virtual environment
poetry shell
-
Install the pre-commit hooks
pre-commit install
-
Generate the prisma client
prisma generate
-
Copy the
.env.example
file to.env
and fill in the required valuescp .env.example .env
-
Run
{prefix}sync <server id>
in the server to sync the slash command tree. -
Review all useful CLI commands by visiting the useful CLI commands file.
License
This project is licensed under the terms of the The Unlicense license. See the LICENSE file for details.