Synthia is a feature-rich Discord bot designed to provide real-time updates and enhancements to your server. It specializes in fetching and displaying the latest AI-related news in a dedicated channel, offering an automated news feed experience. Additionally, Synthia is built to demonstrate web scraping skills and runs seamlessly on a Docker container for 24/7 availability.
-
Welcome with a Joke: Welcomes new members to your server with a personalized joke, setting a friendly tone for interactions. (Feature under development, nearly complete.)
-
AI News Feed: Automatically fetches the latest AI-related news from top sources and posts it in a specified Discord channel.
-
Web Scraping Integration: Utilizes web scraping techniques to collect fresh and relevant news, serving as a practical example of Python-based scraping.
-
Customizable: Easily configure the channel for news updates and set the frequency of news posts.
-
Dockerized Deployment: Fully containerized with Docker, ensuring portability and ease of deployment.
- Python 3.8+
- Docker (optional, for containerized deployment)
- A Discord bot token (get one from the Discord Developer Portal)
-
Clone the repository:
git clone https://github.com/rakinplaban/Discord_chat_miku cd Discord_chat_miku
-
Install dependencies:
pip install -r requirements.txt
-
Configure the bot:
- Create a
.env
file in the root directory. - Add your Discord bot token:
BOT_TOKEN=your_discord_bot_token
- Create a
-
Run the bot:
python main.py
-
Build the Docker image:
docker build -t synthia-bot .
-
Run the container:
docker run -d --name synthia-container synthia-bot
-
Ensure 24/7 availability by hosting the container on a cloud platform like AWS, Azure, or DigitalOcean.
- Invite Synthia to your Discord server using your bot's invite link.
- Set up the channel where you want AI news to be posted.
- Synthia will start fetching and posting news based on the configured schedule (default: hourly).
Command | Description |
---|---|
/news | Get the latest AI news on selected channel |
/welcome | Welcome new members with joke on selected channel |
/heart | Sent heart shape made by an anime girl |
- Programming Language: Python
- Libraries:
discord.py
for bot interactionsbeautifulsoup4
andrequests
for web scraping
- Containerization: Docker
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.
- Inspired by the desire to automate AI news feeds and practice web scraping techniques.
- Thanks to the open-source community for providing tools and libraries.
Enjoy using Synthia! If you encounter any issues or have feature requests, feel free to open an issue or contact me.
🚧 Synthia is currently resting while we refactor our workflow to optimize GitHub Actions usage. She’ll be back soon with more efficient performance!