AzuraCast / azurabot

ARCHIVED: This project is not actively being worked on currently, and is seeking maintainers. Please contact the AzuraCast team if you are interested in maintaining this tool.
MIT License
11 stars 4 forks source link

"The bot is not currently active." #6

Open mbncr opened 4 years ago

mbncr commented 4 years ago

Hello, I've managed to add Azurabot to my Discord server, grant it the authorizations needed, and am now facing a couple issues.

Here's how my conversations with the bot have been for the past minutes :

Thanks for your help !

RiztyW commented 4 years ago

What is your station called and what did you put for my_station.

RiztyW commented 4 years ago

What did you put the AZURACAST_URL as?

sr8087as commented 4 years ago

I'm running into this exact same problem. I also noticed that the !leave command is not working at all. For AZURACAST_URL I used the base url of my installation, i.e. http://radio.example.com. I have 3 stations that I run from that installation. When i use the !play example_name it will say "Starting playback of Example Name!" But no sound is coming out & the speaker is deafened in the voice channel. I will then get the "The bot is not currently active." message if I try a !np. If I try to use the !vol command I will get "Join a voice channel before setting the volume.". !leave or !stop do nothing. Eventually the bot times out & leaves the channel on its own.

sr8087as commented 4 years ago

"If I try to use the !vol command I will get "Join a voice channel before setting the volume."

Just to clarify, I'm getting that message even though both I and the bot are still in the voice channel

mbncr commented 4 years ago

@RiztyW , the AZURACAST_URL is the base URL of my installation. (since I'm using it via Digital Ocean, i tried both https://[IPv4] and https://myurl.com , each time resetting my Docker using sudo docker images rmi To be clear, the bot does return the right name for my radio when I summon it in Discord. It appears to join, just have no sound playing. When I use !np to get the Now Playing, I get the "Join a voice channel before playing music." message

Docker log looks like this : `...

2020/04/18 14:05:52 INFO: Bot is now running. Press CTRL-C to exit. 2020/04/18 14:06:20 INFO: user sent command 'join' 2020/04/18 14:06:23 INFO: user sent command 'play' 2020/04/18 14:06:31 INFO: Playing URL https://my.url/radio/8000/radio.mp3?1587218776 goroutine 109 [running]: main.(*Bot).Radio(0xc0000a62c0, 0xc0003b8900, 0x30, 0xc0000fd7a0) 2020/04/18 14:06:33 INFO: Initializing... 2020/04/18 14:06:33 INFO: Bot is opening... 2020/04/18 14:06:33 INFO: Connected!! 2020/04/18 14:06:33 INFO: Guild Create: [guild number] 2020/04/18 14:06:33 INFO: Bot is now running. Press CTRL-C to exit. 2020/04/18 14:06:34 INFO: user sent command 'np' 2020/04/18 14:06:34 INFO: The bot is not in a voice channel.`