A discord bot that uses the API of https://fractalthorns.com/
To use, it is recommended to activate the venv (from .venv\scripts
or .venv\bin
) and run the following command in the repository's root directory.
python fractalrhomb.py
Make sure the .env
file contains a valid bot token.
If successful, it should say "Logged in as [user]"
Otherwise, it likely would have given an error.
To view command line parameters, add -h
to the end.
- Access to all currently available API endpoints at https://fractalthorns.com/api/v1/docs
- Text returned by the dataclasses'
format
methods contains discord formatting NewsEntry
,Image
, andRecord
allow for customizing what information is shown- Discord bot functionality
- (?)
See Windows Setup or Linux Setup.
-
(and any dependencies for the above)
Newer versions may be used as long as they are backward compatible.
Optionally, you may install Ruff to use for linting and/or formatting.
I don't have hard rules for contributing to this project, just open an issue or pull request.
When making changes, maintaining the same or a similar style would be preferable, at least in existing files.
See Changelog