As the summary says, this sets up a basic bot that doesn't listen to
any commands yet; the bot just runs and does nothing.
Signed-off-by: Max R. Carrara <max@aequito.sh>
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>
This just makes accessing them easier.
What could be done in the future have some kind of utility method for
debugging that prints all of them or returns all of them as a dict or
something.
Signed-off-by: Max R. Carrara <max@aequito.sh>
This uses the python:3.13 docker image and also installs uv
beforehand. Checkout is performed "manually" because the standard
actions/checkout@v4 action requires node:20 as container, which is
annoying. I don't want to pull in node just to clone a git repo.
Signed-off-by: Max R. Carrara <max@aequito.sh>
... 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>