wrong .NET version

This commit is contained in:
Andreas Bielawski 2020-12-20 23:46:21 +01:00
parent 4dcd67f71b
commit 594b8be769
Signed by untrusted user: Brawl
GPG Key ID: 851D5FF3B79056CA
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ namespace RSSBot {
{
string url = args[1].Value;
long chatId = message.Chat.Id;
RssBotFeed feed = new(url);
RssBotFeed feed = new RssBotFeed(url);
await Bot.BotClient.SendChatActionAsync(message.Chat, ChatAction.Typing);
@ -196,7 +196,7 @@ namespace RSSBot {
List<RssBotFeed> feeds = Bot.RssBotFeeds.Where(x => x.Subs.Contains(chatId)).ToList();
StringBuilder text = new();
StringBuilder text = new StringBuilder();
if (feeds.Count < 1) {
text.Append("❌ Keine Feeds abonniert.");
} else {

View File

@ -7,7 +7,7 @@ using Telegram.Bot.Types.Enums;
namespace RSSBot {
public static class Utils {
private static readonly Regex RegexHtml = new("<.*?>");
private static readonly Regex RegexHtml = new Regex("<.*?>");
public static string StripHtml(string input)
{