|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
import random
|
|
|
|
|
|
|
|
|
|
|
|
import filetype as filetype
|
|
|
|
import filetype as filetype
|
|
|
|
from twython import Twython
|
|
|
|
from twython import Twython
|
|
|
|
|
|
|
|
|
|
|
@ -16,7 +18,7 @@ class Winston:
|
|
|
|
"I didn't pay my taxes!",
|
|
|
|
"I didn't pay my taxes!",
|
|
|
|
"I'm wanted in over 60 countries! I'm still on the run :D",
|
|
|
|
"I'm wanted in over 60 countries! I'm still on the run :D",
|
|
|
|
"Overwatch",
|
|
|
|
"Overwatch",
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
def send_tweet(self, tweet_text):
|
|
|
|
def send_tweet(self, tweet_text):
|
|
|
@ -24,6 +26,11 @@ class Winston:
|
|
|
|
|
|
|
|
|
|
|
|
self.bot.update_status(status=tweet_text)
|
|
|
|
self.bot.update_status(status=tweet_text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def send_random_tweet(self):
|
|
|
|
|
|
|
|
"""Tweet something random from potential tweets"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.bot.update_status(status=random.choice(self.potential_tweets))
|
|
|
|
|
|
|
|
|
|
|
|
def tweet_with_media(self, text_and_media):
|
|
|
|
def tweet_with_media(self, text_and_media):
|
|
|
|
"""Tweet with media + optional text"""
|
|
|
|
"""Tweet with media + optional text"""
|
|
|
|
|
|
|
|
|
|
|
|