Skip to content

A simple Discord bot that forwards audio from a voice channel to an Icecast stream.

License

Notifications You must be signed in to change notification settings

StAndrewsRadio/starbot-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starbot-forwarder

GitHub release (latest SemVer) GitHub

A simple Discord bot that forwards audio from a voice channel to an Icecast stream.

Requirements

The program requires the following software:

  • A Discord bot;
  • Java 11 (or higher); and
  • FFMPEG.

Installation

The programs runs as a standalone Java jar file. To download this file, see the latest release.

Usage

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