Skip to content

Synthia is an AI Discord bot that blends research news from Hugging Face, arXiv, and MarkTechPost with humanlike warmth. She welcomes new members with humor and keeps the server up to date with the latest in AI and tech — a smart and social sidekick for your community.

License

Notifications You must be signed in to change notification settings

lonelyH3b/Discord_AI_News_Bot

Repository files navigation

Synthia Bot

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.


Synthia

Features

  • 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.


Installation

Prerequisites

  • Python 3.8+
  • Docker (optional, for containerized deployment)
  • A Discord bot token (get one from the Discord Developer Portal)

Local Setup

  1. Clone the repository:

    git clone https://github.com/rakinplaban/Discord_chat_miku
    cd Discord_chat_miku
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure the bot:

    • Create a .env file in the root directory.
    • Add your Discord bot token:
      BOT_TOKEN=your_discord_bot_token
  4. Run the bot:

    python main.py

Docker Deployment

  1. Build the Docker image:

    docker build -t synthia-bot .
  2. Run the container:

    docker run -d --name synthia-container synthia-bot
  3. Ensure 24/7 availability by hosting the container on a cloud platform like AWS, Azure, or DigitalOcean.


Usage

  • 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).

Commands

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

Technologies Used

  • Programming Language: Python
  • Libraries:
    • discord.py for bot interactions
    • beautifulsoup4 and requests for web scraping
  • Containerization: Docker

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature-name
  5. Open a pull request.

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.


Acknowledgments

  • 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!

About

Synthia is an AI Discord bot that blends research news from Hugging Face, arXiv, and MarkTechPost with humanlike warmth. She welcomes new members with humor and keeps the server up to date with the latest in AI and tech — a smart and social sidekick for your community.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •