Code Monkey home page Code Monkey logo

Comments (2)

tomaarsen avatar tomaarsen commented on July 19, 2024 1

That would definitely be interesting. I got another feature request about whispers a while ago, and I thought of some other changes I could add too.
I'm going to add some issues for those as well and then see what I can build in.

Thank you for the idea!

I'm definitely open to people suggesting ideas/features, or creating pull requests with implementations.

from twitchmarkovchain.

tomaarsen avatar tomaarsen commented on July 19, 2024

Hello @jthorn70

I've implemented your suggestion!
If you download the new version, and keep using your existing settings.txt, then it will be automatically updated to add:

...
    "HelpMessageTimer": 7200,
    "AutomaticGenerationTimer": -1
}

These new settings (as the updated README explains) are intervals between messages the bot automatically posts.
The first one is a 7200 second interval (2 hours) between posting a message that links to the README so chat members can read up how the bot works. Though I believe many chatters would find this useful, streamers keep the option to remove this help message by setting the value to -1 (indicating "no messages of this type")

This -1 is also the default for "AutomaticGenerationTimer", which is what this suggestion is about. It is the interval in seconds between automatic generations. So, if you set it to 900, the bot will post a generation every 15 minutes.
Again, this is not something all streamers will want, so you can turn it off by setting it to -1.

So, download the new version, use the old settings.txt, run the program once so it updates the settings.txt, then set the value for "AutomaticGenerationTimer" to your desired interval, and run the program again.

I hope this is satisfactory!

  • Tom Aarsen

from twitchmarkovchain.

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.