post tweet content, because let's be honest, rss feeds are usually adapted from twitters

This commit is contained in:
Adam R Grey 2023-06-27 23:51:11 -04:00
parent 87201b9eed
commit 1072f4f5ca
2 changed files with 6 additions and 6 deletions

View File

@ -78,7 +78,7 @@ namespace rssberg
// }
Console.WriteLine($"to post! {item.Id} {item.Title?.Text}");
doneIDs.Add(item.Id);
postTasks.Add(wh.SendMessageAsync(item.Links?.ToList().FirstOrDefault()?.Uri.ToString()));
postTasks.Add(wh.SendMessageAsync(item.Title?.Text + ' ' + item.Links?.ToList().FirstOrDefault()?.Uri.ToString()));
}
}
}

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>rssberg</RootNamespace>
</PropertyGroup>