dbot/modules/reddit
2013-12-22 04:09:37 +00:00
..
config.json something something reddit feeds 2013-12-19 18:48:49 +00:00
README.md ] 2013-05-13 18:21:50 +00:00
reddit.js remove debugging. note: offload timers to appropriate clllllosure 2013-12-22 04:09:37 +00:00
strings.json something something reddit feeds 2013-12-19 18:48:49 +00:00
usage.json use the whatsit oh shit 1% battery sjiaofjdisaojfodsa 2013-12-19 18:53:35 +00:00

Reddit

Various Reddit functionality

Description

This module provides Reddit related functionality, which is currently limited to reading various links, but will be expanded in future to include stuff like monitoring posts and creating its own.

API

getSubredditInfo(name, callback)

Get information about a subreddit from the Reddit API. Callback takes one argument, the data returned from the API.

getPostInfo(name, callback)

Get information about a post from the Reddit API. Callback takes one argument, the data returned from the API about the post.

getCommentInfo(post, name, callback)

Get information about a particular comment in a particular post. Callback takes one argument, information about the given comment.

Hooks

Posts a summary when either a subreddit, a post or a comment is linked in a channel.