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
67cdc52212
feat(mypy.ini): add new mypy.ini file for better type checking configuration fix(schema.prisma): make created_at field in Users model nullable to handle users without creation time feat(schema.prisma): add color field to Roles model to store role's color information refactor(pyproject.toml): rearrange linting configuration for better readability and remove redundant mypy configuration |
||
---|---|---|
.github/workflows | ||
config | ||
docs | ||
prisma | ||
tests | ||
tmp | ||
tux | ||
.env.example | ||
.gitignore | ||
.mise.toml | ||
.pre-commit-config.yaml | ||
CODE_OF_CONDUCT.md | ||
docker-compose.yml | ||
LICENSE.md | ||
mypy.ini | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
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.