Update main.py
This commit is contained in:
parent
5fcde23dae
commit
1f872d8008
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
|
@ -90,6 +90,7 @@ class BotYamPoster(tweepy.StreamingClient):
|
||||||
syslog.syslog(syslog.LOG_ERR, status_code)
|
syslog.syslog(syslog.LOG_ERR, status_code)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
syslog.syslog(syslog.LOG_INFO, "BOT-YAM - VERSION 2.1.0 >>>>"
|
||||||
stream = init_streamobject()
|
stream = init_streamobject()
|
||||||
syslog.syslog(syslog.LOG_INFO, "Adding stream rules...")
|
syslog.syslog(syslog.LOG_INFO, "Adding stream rules...")
|
||||||
stream.add_rules(tweepy.StreamRule("from:LucyBscalE OR from:aviv_yashar OR from:shaulig OR from:DvirAviam OR from:YoavFried1 OR from:StevenRaz5 OR from:nir_hau"))
|
stream.add_rules(tweepy.StreamRule("from:LucyBscalE OR from:aviv_yashar OR from:shaulig OR from:DvirAviam OR from:YoavFried1 OR from:StevenRaz5 OR from:nir_hau"))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue