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
I'd Like to upload this project.
Happy Coding
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
TOKENvariableparamstupleCHANNEL_IDfor the bot to send articles to your desired channelpython discord_news.pyorpython3 discord_news.pyon Linux and MacOSProgramming Language
I'd Like to upload this project.
Happy Coding