japherwocky / j4ne

A chat bot with data visualizations for IRC, Twitch, Discord, and Twitter
2 stars 0 forks source link

refactor twitter polling #12

Closed japherwocky closed 1 year ago

japherwocky commented 7 years ago

I'd like to follow the base interface in /networks/init.py more closely.

When we kick off check_tweets we should

then pass those tweets, individually, to self.on_message, which calls:

self.parse for HTML unescaping self.log to write a copy of the tweet to the messages table (this may require a model / schema adjustment?) self.process which looks for channels that this tweet may need to be posted into