UniversityOfNottingham / devbot

0 stars 0 forks source link

Add reddit links script #4

Open beforan opened 7 years ago

beforan commented 7 years ago

This was a cool idea I had that is a WIP.

devbot should respond to messages that contain a reddit path such as /r/gifs with an actual link to the relevant url e.g. https://reddit.com/r/gifs

suggestions for supported links:

The reddit-links branch has a reasonable implementation of this, but that currently sends devbot into an infinite loop, as it appears to respond to it's own messages (which of course contain the trigger e.g. /r/gifs). The Slack adaptor is supposed to prevent bots responding to their own messages, so who knows what's going on here.