public static void SendTweet(this(IAuthenticatedUser, NewDriveThruListing) data) { var user = data.Item1; var listing = data.Item2; var tweet = $"New D&D POD Listing: {listing.ProductsName}{Environment.NewLine}"; tweet += $"{Environment.NewLine}#Dnd #DTRPG #DungeonsAndDragons{Environment.NewLine}"; tweet += $"https://www.drivethrurpg.com/product/{listing.ProductsId}?affiliate_id=381232"; user.PublishTweet(tweet); }
public static void Debug(this NewDriveThruListing data) { Console.WriteLine(data.ToString()); }