Open codinginpython123 opened 3 years ago
When this occurs, is there anyone other than the bot in the stage channel?
When this occurs, is there anyone other than the bot in the stage channel?
When it occurs there is noone else in the stage
Since your Code has no option to close the stage instance I assume that your bot does not keep the stage instance alive as described in the API docs. It would be interesting if this behaves the same if there is an member listening to the music and if the music is actually still playing in this moment. I can't quite figure out what the docs mean by saying a surpressed user is not counted. This might be a problem as well for your bot.
This issue is a bit old, but the voice connection code for the library has been rewritten. If you're still having this issue, do you mind seeing if it still happens on the latest commit?
Summary
I have a discord bot that plays music in a stage channel. But after one hour or so it disconnects and stops the stage.
Reproduction Steps
Minimal Reproducible Code
Expected Results
I expected the bot to stay forever in the stage.
Actual Results
After an hour it exits and the stage closes.
Intents
default,members
System Information
Checklist
Additional Context
Bot is a stage moderator and speaker according to discord a stage shouldn't end if there is a speaker that is a stage moderator . NOTE for the code snippet: The TOKEN constant is an enviroment variable that I have set.