Giter Club home page Giter Club logo

Comments (5)

moonstar-x avatar moonstar-x commented on May 26, 2024

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.

moonstar-x avatar moonstar-x commented on May 26, 2024

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.

Jordaar avatar Jordaar commented on May 26, 2024

@moonstar-x Thanks!

from discord-music-24-7.

Jordaar avatar Jordaar commented on May 26, 2024

And also if it is not pausing so what about the bot's status?

from discord-music-24-7.

moonstar-x avatar moonstar-x commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.