oldterns / VileBot

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

Add "!reddit <subreddit>" command #135

Open cuijulian opened 5 years ago

cuijulian commented 5 years ago

There should be a !reddit command which takes in the name of a popular subreddit and outputs the top few posts in that subreddit (bolded title and link to post). Functionality would be almost identical to !news and !fakenews, would be strongly recommended to make use of existing code. Refer to NewsParser.java, News.java, and FakeNews.java for implementation. Great for new contributors who want to dabble in their first feature.

justinmcook commented 5 years ago

For those interested in working on this: Reddit RSS feeds are available at: https://reddit.com/r/<subreddit>.rss (which also means !reddit could take in any word rather than a predefined list like !news and !fakenews)

justinmcook commented 5 years ago

See #16 for a similar issue