Inspiration

RSS feeds and the older internet inspired us to create this project. My sister eventually came up with the idea to make this.

What it does

It sends the user per time interval (every 1, 3, 6, 12 or 24 hours) a personalized newsfeed over Discord catered to their interests.

How we built it

We used the Discord.py module in Python in conjunction with the newsapi module to gather news.

Challenges we ran into

We did not have much experience with API's in the past, so finding the correct API and implementing it in our project was a challenge - Most of them are not free, and are capped to a certain amount of requests per day. We also had some difficulties with the writing and reading from our local 'database', which was implemented through a json file to keep things simple.

Accomplishments that we're proud of

We're proud to have learned how to create a fully functioning Discord bot, have it remember user preferences and automate tasks on them.

What we learned

As I mentioned here above we learned how to use the Discord bot API as well as get some familiarity with the world of other API's in general such as the news API.

What's next for Paper Boy

When we have more time we want to add some more color and flair to the text-interface that the bot comes with.

README: Because of the nature of API keys we could not include them in the repository. Please copy-paste the contents below to your .env file

USE THIS LINK TO GET THE BOT ON YOUR SERVER: https://discord.com/api/oauth2/authorize?client_id=873512819646156810&permissions=8&scope=bot

# .env

DISCORD_TOKEN=ODczNTEyODE5NjQ2MTU2ODEw.YQ5gNQ.EaSzQ0lW7ART6VBn4kJ0nFR-auU

NEWSAPI_KEY=8de80e00c3ad42918de42ee461da1098

Built With

Share this project:

Updates