joeyvanlierop / xkcdbot

A reddit bot that automatically links xkcd comics in the /r/xkcd subreddit 🤖
MIT License
37 stars 20 forks source link

Call bot with "Relevant xkcd: {number}" #13

Closed joeyvanlierop closed 4 years ago

joeyvanlierop commented 4 years ago

Add the ability to call the bot by commenting: Relevant xkcd: {number}

Example comment: Relevant xkcd: 327

The two streams that are currently being analyzed are:

This change will require analyzing comments from outside /r/xkcd which is currently not implemented. It will also require a new matching pattern.

haydenccarroll commented 4 years ago

I submitted a pull request for this issue. I am new to contributing to open source projects, so please let me know if I am doing something wrong.

joeyvanlierop commented 4 years ago

Thanks for the contribution! Before I merge this, would you be able to implement some tests to ensure there are no obvious issues?

stefanosporiazis commented 4 years ago

There's a PR for this at #25.

joeyvanlierop commented 4 years ago

Closed by #25