This is a rewrite of the error code module that I maintained for Robocop/Komet.
This rewrite features automatic scrapping of error codes, a better format for error codes and much more. It'll always only focus on error codes and on nothing else.
v1 of the API ran on a dedicated webserver at err.tomger.eu. Sadly servers are expensive and as such the "API" was re-engineered to be be a fully static file that gets updated through Github Actions at https://raw.githubusercontent.com/tumGER/BETCH/actions/api.json.
That static file will always have the most updated version of the BETCH error codes.
This bot is hosted freely HERE, feel free to use it instead
pip install -r requirements.py
token = "YOUR-TOKEN" in "config.py" to your discord token.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this repository, You can obtain one at https://mozilla.org/MPL/2.0/.