Comments (5)
Hey there, the bot is designed to pause when nobody is listening so that the host can save bandwidth.
The easiest change you can make to the code to avoid the pause would be changing the updateDispatcherStatus()
method in src/classes/Player.js
to the following:
updateDispatcherStatus() {
if (!this.dispatcher) {
return null;
}
return this.resumeDispatcher();
}
Then again it may have some side effects because the bot was not designed with constant playback. That's as far as I can help you with this issue.
from discord-music-24-7.
Update:
I'm actually considering having this as a feature that can be selected on the bot configuration. I'm gonna work on this once I'm free, but the change that I showed you should do the trick for now.
from discord-music-24-7.
@moonstar-x Thanks!
from discord-music-24-7.
And also if it is not pausing so what about the bot's status?
from discord-music-24-7.
I'm sorry, can you rephrase what you tried to say? Do you mean that the change didn't work to make the bot not pause? When you say bot status, do you mean the status of the work on this bot or the message that is displayed under the bot name on the members list of Discord?
from discord-music-24-7.
Related Issues (20)
- add stage connectivity please HOT 2
- Add bug connectivity please HOT 3
- Stream will randomly stop working after a long time.
- Bot will crash if it is disconnected from the channel. HOT 1
- Error happening when I start HOT 6
- Licensing
- EPIPE Error HOT 6
- The bot, sometimes, does not resume playback once I have joined the server again. HOT 5
- Crash when voice connection is lost. HOT 10
- Add a Keep-Alive functionality for Repl.it and Heroku HOT 11
- The bot randomly stops playing when using Docker HOT 34
- Bot skipping song that didn't end. HOT 1
- Não tocar música HOT 1
- Create a command To add a local song to local folder
- Multi-server support
- Update to Djs.13/Djs.14
- I received this error when starting the Bot on Glitch. HOT 1
- This Error son't stop apering.
- New Error
- Repl.it supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-music-24-7.