A simple Discord bot that forwards audio from a voice channel to an Icecast stream.
The program requires the following software:
- A Discord bot;
- Java 11 (or higher); and
- FFMPEG.
The programs runs as a standalone Java jar file. To download this file, see the latest release.
The simplest usage of the program is to act as a forwarder to an Icecast stream. This can be done as easily as:
java -jar starbot-forwarder.jar --token "MY-TOKEN-HERE" --channel-id 4815162342 https://icecast.example.com/stream
The token is used to log into the Discord bot. This can be obtained from Discord's Developer Portal. A guide on how to obtain the channel ID can be found here. Finally, the Icecast stream is provided.
For full usage instructions, run the following:
java -jar starbot-forwarder.jar --help