~homeworkprod/push-byceps-stats-to-discord

Push BYCEPS ticket sale stats to Discord (as channel name)
7f85d7e5 — Jochen Kupperschmidt a month ago
Begin development of version 0.7.0
7f683c69 — Jochen Kupperschmidt a month ago
Release version 0.6.0
9f2ab779 — Jochen Kupperschmidt 2 months ago
Update transitive dependencies

clone

read-only
https://git.sr.ht/~homeworkprod/push-byceps-stats-to-discord
read/write
git@git.sr.ht:~homeworkprod/push-byceps-stats-to-discord

You can also use your local clone with git send-email.

#Push BYCEPS Ticket Sale Stats to Discord

A tool to fetch ticket sale stats for a specific LAN party from a BYCEPS installation and show that as the name of a channel on Discord.

A Discord voice channel can be used for this purpose. After removing the relevant access permissions for non-admin server users, it cannot be joined and a lock is shown as its icon. This turns it into a small text display.

The API of the BYCEPS installation has to be enabled and an API token has to be configured and made available for the client.

If an interval is configured, the tool runs contiuously; otherwise it exits after one channel update.

#Usage

Create a configuration file based off of config_example.toml.

Run the program, pointing to it:

$ push-byceps-stats-to-discord --config config.toml

#Docker

Both a Dockerfile and a compose.yaml are included to support running the application with Docker and Docker Compose.

Be sure to provide a configuration file named config.toml (and configure an interval) to avoid issues.

#License

This application is licensed under the MIT license.