Tilt debugging
This commit is contained in:
parent
a58cec4ebd
commit
a314903f06
1 changed files with 4 additions and 1 deletions
|
|
@ -71,6 +71,9 @@ class BotYamPoster(tweepy.StreamingClient):
|
||||||
reply_bank['special_gags']['misadot']['reply'],
|
reply_bank['special_gags']['misadot']['reply'],
|
||||||
postcounter)
|
postcounter)
|
||||||
|
|
||||||
|
if (postcounter == 0):
|
||||||
|
print("Post counter for this tweet: 0! Posting tilt.")
|
||||||
|
|
||||||
if any(tilter in tweet.data['text'] for tilter in reply_bank['special_gags']['tilt']['keywords']) or (postcounter == 0 and "@FromBotYam" in tweet.data['text']):
|
if any(tilter in tweet.data['text'] for tilter in reply_bank['special_gags']['tilt']['keywords']) or (postcounter == 0 and "@FromBotYam" in tweet.data['text']):
|
||||||
postcounter = post_reply(
|
postcounter = post_reply(
|
||||||
conn,
|
conn,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue