python-geeks/Automation-scripts

Discord News Bot with AI

開放

#939 建立於 2023年4月26日

 (4 則留言) (0 個反應) (1 位負責人)Python (601 個分叉)auto 404
beginner-friendlygood first issuehacktoberfestup-for-grabs

倉庫指標

星標
 (1,226 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南