Archived
1
0
Fork
You've already forked BETCH
0
Better Error (T) Code Handler and Cinnabar
This repository has been archived on 2026年01月15日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 100%
Find a file
2024年12月13日 12:15:23 +01:00
.github/workflows Run Action every 6 hours 2021年09月19日 18:21:13 +02:00
data Add two unofficial error codes. 2021年09月12日 18:30:44 +02:00
.gitattributes Initial commit 2019年08月19日 23:15:35 +02:00
.gitignore Remove data from .gitignore 2021年09月12日 16:54:39 +02:00
BETCH.py PPrint is now part of python 2021年07月18日 13:10:48 +02:00
discord_module.py Remove test_guilds 2021年09月12日 18:37:35 +02:00
LICENSE Relicense under MPLv2 2019年09月20日 19:11:16 +02:00
readme.md Archive 2024年12月13日 12:15:23 +01:00
requirements.txt Only BETCH requirements 2022年01月11日 10:31:48 +01:00
workflow-runner.py Switch to simplejson to support ignore_nan 2021年09月12日 16:39:20 +02:00

Caution

Due to massive changes in the Discord API, deprecated libraries and a personal lack of interest in Switch homebrew this repository has been archived. Robocop offers the initial version of the error code module, still maintained by the Reswitched Team and should cover the most common errors.


Click for Bot Invite

Discord Client Plugin for Goose Mod


What is this?

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.


API

v1 of the API ran on a dedicated webserver at [DEPRECATED]. 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.


Manual Installation

This bot is hosted freely HERE, feel free to use it instead

pip install -r requirements.py

and then token = "YOUR-TOKEN" in "config.py" to your discord token.


License

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/.