oldterns / VileBot

The most vile IRC bot known to humankind
MIT License
15 stars 23 forks source link

Add !news and !fakenews command functionality #127

Closed cuijulian closed 5 years ago

cuijulian commented 5 years ago

Building on #126, added !news and !fakenews user command in handlers. Created an abstract class NewsParser that the handlers inherit from for implementation. Parses RSS feeds with ROME from various news and satirical news sites and outputs top five headlines and their links based on user input.

Will undraft once I add more test cases. Any feedback is appreciated.

justinmcook commented 5 years ago

Having the other countries for fakenews is cool, would those be in English?

cuijulian commented 5 years ago

Having the other countries for fakenews is cool, would those be in English?

Nope, they are in their corresponding languages. Might be fun for multilingual users.

justinmcook commented 5 years ago

Looks good to me, just one thing: maybe squash the Fix RSS commit into the previous commit