Skip to content

McAwesome123/fractal-rhomb

Repository files navigation

Fractal RHOMB

A discord bot that uses the API of https://fractalthorns.com/

Usage

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.

Features

Implemented:

  • 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, and Record allow for customizing what information is shown
  • Discord bot functionality

To do:

  • (?)

Setup

See Windows Setup or Linux Setup.

Requirements

Newer versions may be used as long as they are backward compatible.

Optionally, you may install Ruff to use for linting and/or formatting.

Contributing

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.

Changelog

See Changelog