12/8/2023 0 Comments Add rss feed to discord![]() ![]() ![]() TrackType: The method to track posts as read.Posts will only be sent to the webhook if the title matches this string. RegexWhitelist: The RegEx pattern to test for matches.FeedUrl: The URL of the Reddit RSS feed to parse.Feeds: Array of Feed objects (see further sections).Webhooks: Dictionary of DiscordWebhook objects (see further sections).This number should be at least an hour longer than the maximum hours for a given filter (ex. ReadPostRetentionTimeHours: When using TrackType 2 for feeds, the number of hours to remember a post a "read".OutputToConsole: Output parsing information to standard output, including when scans occur, which scans are currently in process, and information of newly detected posts.Note this is time between the starts of two scans, not the end of one scan and start of the next. IntervalSeconds: The seconds paused between each scan of the RSS feed.PasteeeApiKey: If a valid paste.ee API key is defined, crash reports will be automatically published to paste.ee and a link will be sent to any webhooks with SendDebuggingInfo set to true.A default config file with no feeds will be created on first run. The configuration file is stored next to the executable in config.json. ![]() You can test your RegEx with, with the input text set to the value of the 'Title' element of an RSS entry. To match any post, simply set the filter to. ) as otherwise the sort will occasionally not apply correctly. When you are trying to sort posts, it is important to include ?sort= at the end of the URL (ex. See for information on making Reddit RSS URLs. Note that Reddit RSS feeds only show 25 posts at a time, and there is no page functionality in this bot, so this bot is not suited for extremely high traffic subreddits like /r/all or /r/popular. When the bot scans an RSS feed, it will make note of the newest post that passes the Regex filter, and will only check for newer posts on the next scan. Choose between linking to the URL of the post, or the URL the post links to (when applicable).Optionally embedding images if present.Displaying post titles in the Discord embed, or hiding them if preferred.Filtering post titles with Regular Expressions.Any number of webhooks for each RSS feed (different feeds can send to different webhooks).Any number of RSS feeds under one instance of the bot.Bot that reads Reddit RSS feeds and sends new posts to Discord webhook(s). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |