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

贡献者指南