Added Tweet deletion based in streaming events

This commit is contained in:
2016-04-16 13:31:37 -05:00
parent 2124f6c60b
commit 92d803717f
3 changed files with 18 additions and 2 deletions

View File

@@ -126,6 +126,8 @@ class streamer(TwythonStreamer):
def on_success(self, data):
try:
if "delete" in data:
pub.sendMessage("tweet-deleted", data=data)
if "direct_message" in data:
self.process_dm(data)
elif "friends" in data: