How does discoursebot work?


(Allen - Watchman Monitoring) #1

How does discoursebot work? is there a blog post somewhere?

Seems like a cool little tool there.


(Mittineague) #2

I’ve never heard of it. I’m intrigued. Where did you see mention of this?


(Peter Spicer) #3

There is a certain Discourse install full of programmers who were so fed up of various things that they wrote bots for fun to abuse Discourse.

I’d link but it’s practically the red-headed stepchild of Discourse installs and I’m fairly sure it’s forbidden to mention that place by now…


(Jeff Atwood) #4

No he is referring to GitHub and the CLA bot.


(Peter Spicer) #5

Ah, sorry, thought it was referring to some of the other bots for Discourse…


(Allen - Watchman Monitoring) #6

So, after reading, there’s a webhook on the discourse repo which responds to pull requests by checking the author’s github username against a table of authorized users.

At first I wondered if the github user discoursebot was the magic, but it’s simply the voice of the script.

There is a related project here: https://www.clahub.com the rest of this topic is pretty meta.

There is more discussion on this thread Does discoursebot need to respond to every pull request, even after you have signed the CLA?