A discord bot to listen to online radios with search capabilities
Warning
@discordjs/voice currently does not support ARM64 architecture. Tested to work on an AMD64 architecture.
- 📻 Listen to radio streams
- 🔍 Search for radios (from radio.garden API)
- 💬 Project current playing song to bot status
- Clone the repository
git clone https://github.com/okdargy/incecast
- Install dependencies
npm install
- Install
ffmpeg
This step is required for @discordjs/voice to work. You can install ffmpeg from here.
Important
We recommend you not to use ffmpeg-static as it is very unstable is almost guaranteed to crash.
- Rename the
config.example.json
file toconfig.json
and fill in the required fields.
{
"token": "",
"clientId": "",
"guildId": "",
"defaultStream": ""
}
- Deploy the commands
This will deploy to only the server in the
guildId
variable
node deploy.js
- Start the bot
node index.js
Incecast uses slash commands to interact with the bot. You can find the list of commands below.
Command | Description |
---|---|
/play |
Play a radio stream from radio.garden |
/search |
Search for a radio stream from radio.garden |
/connect |
Connect the bot to your voice channel |
/change |
Change the radio stream to a custom URL |
/reconnect |
Reconnect the bot to your voice channel |
/ping |
Advanced debugging and pong! |
Showing what bot stauts looks like |
Working searching and playing radio stations |
Having such an amazing API and the root inspiration for this bot
I'd like to thank the Running With Bricks group for supporting the creation of this bot and showing interest!