uchuuio / disbott

A bot for Discord
https://disbott.uchuu.io
3 stars 1 forks source link

Live tweet module #49

Open tomouchuu opened 7 years ago

tomouchuu commented 7 years ago

Just had a thought with the US elections it would be cool if we can set up the bot to read a specific twitter account (or hashtag/stream) and live post to a specific channel as tweets are posted from that account.

80cmdude commented 7 years ago

Im on it

What account @ therealtrump ?

tomouchuu commented 7 years ago

It would be customisable, here is a flow I have in mind:

@disbott livetweets @therealtrump
// Disbott creates a channel if one doesn't exist called #livetweets with the description of what it is following ie. "Disbott is following @therealtrump's tweets"
// This will also stop the current follow if one is set
// It will then populate the #livetweets channel with tweets from the account/hashtag as they come in

We also need a command like @disbott stoplivetweets which would stop disbott following tweets.

tomouchuu commented 7 years ago

Just in addition to account / hashtag we should also do lists for when there is multiple people but a hashtag would be too many people. I feel that:

would be the parameters. Worth investigating if lists are possible to get & get tweets from