You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
494 B
Python

from twython import Twython
4 years ago
from bot.aws_secrets import get_secret
class Winston:
4 years ago
def __init__(self):
self.bot = Twython(
get_secret("CONSUMER_KEY"),
get_secret("CONSUMER_SECRET"),
get_secret("ACCESS_TOKEN_KEY"),
get_secret("ACCESS_TOKEN_SECRET")
)
self.potential_tweets = [
"Hello! I'm Winston From Overwatch!",
"Winston! From! Overwatch!",
"Winston? From Overwatch?"
]