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.
Create a configuration file based off of config_example.toml
.
Run the program, pointing to it:
$ push-byceps-stats-to-discord --config config.toml
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.
This application is licensed under the MIT license.