|
|
|
@ -197,7 +197,8 @@ class PublicRelations(Bureau):
|
|
|
|
|
"""
|
|
|
|
|
Re-Tweet a tweet from someone else.
|
|
|
|
|
"""
|
|
|
|
|
tweet_id = self.get_tweet_id(data)
|
|
|
|
|
shortcode, _ = data.split(".")
|
|
|
|
|
tweet_id = self.get_tweet_id(shortcode)
|
|
|
|
|
self.t.t.statuses.retweet(id=tweet_id)
|
|
|
|
|
|
|
|
|
|
@add_command("twre", "Reply to Tweet")
|
|
|
|
@ -214,7 +215,8 @@ class PublicRelations(Bureau):
|
|
|
|
|
"""
|
|
|
|
|
'Like' a tweet.
|
|
|
|
|
"""
|
|
|
|
|
tweet_id = self.get_tweet_id(data)
|
|
|
|
|
shortcode, _ = data.split(".")
|
|
|
|
|
tweet_id = self.get_tweet_id(shortcode)
|
|
|
|
|
self.t.t.favorites.create(id=tweet_id)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|