GithubHelp home page GithubHelp logo

Unanswered replies about happinessbot HOT 4 CLOSED

coreyhaines avatar coreyhaines commented on June 10, 2024
Unanswered replies

from happinessbot.

Comments (4)

 avatar commented on June 10, 2024

Hi Özkan,
Yes there is a response limit, this is done to avoid account suspension.
( Currently, it's on the 7th account: @happiness2_u_7 )

The default rate of the Tweetbot gem is 20 out of 100,
which means there is a 1 in 5 chance the bot will respond to a phrase.
( tweetbot / lib / tweetbot / bot.rb => Line 6 => DefaultFrequency = 20 )

In Happinessbot (which uses the Tweetbot gem) this response rate is set to 1,
which means a 1 in 100 chance the bot will respond.
( happinessbot / run_bot.rb => Line 8 => config.response_frequency = 1 )

from happinessbot.

coreyhaines avatar coreyhaines commented on June 10, 2024

Hi, Ozkan,

It only responds to 1% of the matches it finds. This is to keep from
hitting the rate limit too quickly.

That is the part in run_bot.rb that sets the frequency
https://github.com/coreyhaines/happinessbot/blob/master/run_bot.rb#L8

-corey

On Mon, Dec 26, 2011 at 6:07 AM, Özkan Altuner
[email protected]
wrote:

Yesterday I wanted to test the bot, however it haven't replied me back. Seems like it does not catch all greetings.

Is there a limitation, or random selection..?


Reply to this email directly or view it on GitHub:
#15

from happinessbot.

ozkanaltuner avatar ozkanaltuner commented on June 10, 2024

Ok, now I see it, thank you guys for explanation. Btw, not all the files are open on GitHub, I guess (i.e.; the file bot.rb etc)?

from happinessbot.

coreyhaines avatar coreyhaines commented on June 10, 2024

HappinessBot relies on my tweetbot gem https://github.com/coreyhaines/tweetbot
That's where the majority of the actual code is. HappinessBot just
configures the twitter bot via run_bot.rb

-Corey

On Mon, Dec 26, 2011 at 12:41 PM, Özkan Altuner
[email protected]
wrote:

Ok, now I see it, thank you guys for explanation. Btw, not all the files are open on GitHub, I guess (i.e.; the file bot.rb etc)?


Reply to this email directly or view it on GitHub:
#15 (comment)

from happinessbot.

Related Issues (1)

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.