private static string GetMessage(Response response) { return (response.Result ?? response.Error).Trim(); }
private void HandleUnspecifiedBehavior(Response response, TwitterStatus tweet) { twitterService.Tweet(response.Output); if (tweet.Author.ScreenName == settings.Grandpa) return; twitterService.Reply(tweet.Id, tweet.Author.ScreenName, Resources.Message); }