Commit graph

3 commits

Author SHA1 Message Date
ba829254d8 pyproject: add discord.py as dependency
... and also update uv.lock.

Signed-off-by: Max R. Carrara <max@aequito.sh>
2025-03-10 23:56:08 +01:00
1d571fc726 bot: db: add base model and a simple db manager
The base model basically just adds typing to peewee (lmao) and also
handles the date_created, date_updated fields all methods, except for
raw SQL.

This should make it a little easier to write a tiny async layer on top
of it all.

Signed-off-by: Max R. Carrara <max@aequito.sh>
2025-03-10 23:56:08 +01:00
588f8d065e setup basic project structure
... without any other dependencies except the rudimentary things, for
the time being.

This builds using `uv build` and can be run via `uv run bot`.

The bot can also be installed via `uv pip install .` (from the project
root) and then be imported via `import bot`.

Signed-off-by: Max R. Carrara <max@aequito.sh>
2025-03-06 01:19:10 +01:00