# Hubot Adapter for Discourse

**URL:** <https://meta.discourse.org/t/hubot-adapter-for-discourse/63419>\
**Category:** Extras\
**Created:** [May 26, 2017, 5:03am UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419 "2017-05-26T05:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)\
**Post date:** [May 26, 2017, 5:03am UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/1 "2017-05-26T05:03:55Z")

</div>

I built a [Hubot](https://hubot.github.com/) adapter for Discourse.

[https://github.com/featheredtoast/hubot-discourse-adapter](https://github.com/featheredtoast/hubot-discourse-adapter)

This should work moderately well for communities that desire bot integrations. There are a few gotchas (see the readme) but for the most part it has been pretty incredible to tinker with so far.

Something my community desired was a dice roller, which I knew existed as a hubot plugin. While there have been other attempts at [integrating dice rollers into discourse](https://meta.discourse.org/t/simple-dice-roller-plugin/9958/15), if I was going to run a bot against my Discourse instance, I wanted the full power of hubot plugins at my disposal. My aim here was to have there be an easy way to integrate such reply features into a Discourse community using an existing and well known bot.

This adapter is about adding a bot that directly listens in to topics and replies in Discourse itself. It differs from a [previous Hubot integration topic](https://meta.discourse.org/t/hubot-integration/26271) as that seemed to be aimed at querying a discourse community in an existing integration (irc, slack, etc) to get discourse stats, and possibly post to a remote Discourse instance.

The bot now polls for messages over Discourse’s message bus.

I created the repository as `hubot-discourse-integration`, as `hubot-discourse` was already taken… Sadly this also had no documentation, code, or announcements here. I wasn’t inclined to trust it, so I built this.

---

_[View the full topic](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419)._
