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.

20 lines
398 B
Python

4 years ago
from bot.winston import Winston
def send_tweet(tweet_text):
"""Sends a tweet to Twitter"""
Winston.bot.update_status(status=tweet_text)
def follow_someone(username):
"""Follows someone based on given username"""
Winston.bot.create_friendship(username=username)
def like_tweet(tweet_id):
"""Likes a tweet based on it's ID"""
Winston.bot.create_favorite(id=tweet_id)