public DatabaseRssNotificationsSender(DiscordSocketClient client, IRssNotifications notifications, IRss rss, IDatabaseService database) { _database = database; _client = client; _notifications = notifications; _rss = rss; try { _database.Exec("CREATE TABLE IF NOT EXISTS `RssNotificationsSent` (`ChannelId` TEXT NOT NULL, `FeedUrl` TEXT NOT NULL, `UniqueId` TEXT)"); } catch (Exception e) { Console.WriteLine(e); } }
public Rss(IRssNotifications rss) { _rss = rss; }