Code Monkey home page Code Monkey logo

Comments (3)

esdalmaijer avatar esdalmaijer commented on July 28, 2024

That's right, the function signals an existing Thread what to do; it doesn't launch a new one with new parameters. There are two ways to make your bot reply to multiple keywords:

  1. Combine multiple search keywords into a single string. This will make your auto-replier reply to all of the search keywords by using the same library/libraries (or using different languages; it depends on what you passed to the twitter_autoreply_start method). The Twitter dev site gives a great explanation here. In short, you can use 'foo bar' to auto-reply only when 'foo' AND 'bar' appear in a tweet together, or you can use 'foo, bar' to auto-reply to tweets that contain 'foo' OR 'bar'.
  2. You could start multiple instances of MarkovBot, each with their own specific auto-reply parameters.

from markovbot.

trismegistis avatar trismegistis commented on July 28, 2024

Awesome! Thanks. I got my test account banned because I made multiple scripts to listen to each and every keyword, and they started conflicting xD

from markovbot.

esdalmaijer avatar esdalmaijer commented on July 28, 2024

Hahaha, woops! Yeah, you have to respect Twitter's post limits. Also, spamming random Twitter users is not cool, so keep the auto-replying within limits ;)

(PS: Closing the issue, as it's resolved. Please do open a new one if you need anything else.)

from markovbot.

Related Issues (9)

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.