JuicyPasta/reddit-snooper

Watch comments for multireddits?

Closed this issue · 2 comments

Right now it's possible to listen for comments across Reddit or a specific sub. Is it possible to watch for comments on multis?

I think passing a list of subs separated by + should work. I'll try and get back.

It works! Leaving an example here for others:

// Listen for comments on r/test and r/sandbox
snooper.watcher.getCommentWatcher('test+sandbox')
        .on('comment', function(comment) {
            (...)
        });