StAndrewsRadio / starbot-forwarder

A simple Discord bot that forwards audio from a voice channel to an Icecast stream.
https://standrewsradio.com
MIT License
1 stars 3 forks source link

Can it also stream live from a Stage (Voice) Channel? #5

Open shelomito12 opened 3 years ago

shelomito12 commented 3 years ago

Do you know if I use a Stage Channel ID instead of a regular Voice Channel ID... Will it be able to send a live stream?

shelomito12 commented 3 years ago

I have tried using an ID of a Stage Channel but got an error:

18:55:16.375 [JDA MainWS-ReadThread] INFO  net.dv8tion.jda.api.JDA - Finished Loading!
18:55:16.412 [main] ERROR c.s.starbot.forwarder.Forwarder - The channel specified by the --channel-id was not a voice channel!
18:55:16.412 [main] INFO  c.s.starbot.forwarder.Main - Forwarder started. Press CTRL-C to shutdown.
kezz commented 3 years ago

Hmm that's an interesting question - the program was designed before stage channels existed but I don't see why it couldn't work. I'll have a look and get back to you!

kezz commented 3 years ago

JDA, the library used to connect with the Discord API, doesn't support stage channels yet but I'll update this as soon as they do!

shelomito12 commented 3 years ago

Tracking: https://github.com/DV8FromTheWorld/JDA/pull/1575

shelomito12 commented 3 years ago

Heads up! they recently added support for stage channels in the JDA library, dev branch.

kezz commented 3 years ago

Thanks for letting me know! I'll update this at some point to support stage channels :)

shelomito12 commented 3 years ago

Hey @kezz, any progress on this? -Thanks