Comments (3)
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:
- 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'
. - You could start multiple instances of MarkovBot, each with their own specific auto-reply parameters.
from markovbot.
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.
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)
- TwitterStream can disconnect HOT 1
- Missing database in Markovbot._autoreply HOT 3
- Feature request - random selection of suffix and prefix HOT 1
- Last use of `unicode` in the Python 3.5 version HOT 2
- dict instead of list
- (deleted)
- from markovbot import MarkovBot fails HOT 2
- markovbot crash with "MSG frException in thread auto tweeter" HOT 2
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 markovbot.