python-geeks/Automation-scripts

Discord News Bot with AI

Offen

#939 geöffnet am 26.04.2023

 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (601 Forks)auto 404
beginner-friendlygood first issuehacktoberfestup-for-grabs

Repository-Metriken

Stars
 (1.226 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

A Discord bot which sends news articles every 10 minutes with AI functionalities

This is the first time I've contributed to open source. This project consists of sending news articles to a discord server. It then responds to the article sarcastically

Instructions

  • Get a token from the Discord developer portal: https://discord.com/developers/applications
  • Get a token from the NewsAPI: https://newsapi.org
  • Install the necessary Python packages: pip install -r requirements.txt
  • Enter the token from the discord developer portal TOKEN variable
  • Enter the token from the NewsAPI in the params tuple
  • Enter the channel ID in the CHANNEL_ID for the bot to send articles to your desired channel
  • Run the bot: python discord_news.py or python3 discord_news.py on Linux and MacOS
  • The bot will automatically send news articles every 10 minutes.

Programming Language

  • Python

I'd Like to upload this project.

Happy Coding

Contributor Guide