small update, code cleaned

This commit is contained in:
arnaucode
2017-04-21 10:21:17 +02:00
parent 2e1d99c387
commit 55f58e2914
10 changed files with 7 additions and 13 deletions

View File

@@ -17,6 +17,7 @@ func postTweet(client *twitter.Client, content string) {
}
if httpResp.Status != "200 OK" {
c.Red("error: " + httpResp.Status)
c.Purple("maybe twitter has blocked the account, CTRL+C, wait 15 minutes and try again")
}
fmt.Print("tweet posted: ")
c.Green(tweet.Text)