An open-source Discord bot that fetches tweets from RSS feeds and sends them to designated channels
An open-source Discord bot that fetches tweets from RSS feeds and sends them to designated channels
RssDiscordBot is an open-source Discord bot designed to fetch tweets from a specified Twitter account’s RSS feed and send them to designated channels on a Discord server. This bot provides a reliable solution for keeping your Discord community updated with the latest tweets from a Twitter account, without the need for direct Twitter integration.
By making the code available to the public, you can now run your own instance of RssDiscordBot and target any Twitter account you wish, ensuring a seamless integration with your Discord server.
As a moderator of an Discord anime community, I wanted a free alternative to keep the community updated with the latest tweets.
The project is structured into multiple Python files for modularity and maintainability:
bot.py: Contains the main RssDiscordBot class that handles the bot functionality and commandsrss_feed.py: Implements the RSSFeed class responsible for fetching and parsing the Twitter RSS feed from Nitter instancesfirebase_service.py: Provides the FirebaseService class for interacting with the Firebase Realtime Databasemain.py: The entry point of the application that initializes the bot and starts the event loopkeep_alive.py: A utility script to keep the bot running continuously on the hosting platformRssDiscordBot is hosted on Render, a cloud platform for running web services and applications. Render provides a reliable and scalable environment for hosting the bot, ensuring its continuous operation and availability.