# Hubot Adapter for Discourse

**URL:** https://meta.discourse.org/t/hubot-adapter-for-discourse/63419
**Category:** Extras
**Created:** [5월 26, 2017, 5:03오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419 "2017-05-26T05:03:55Z")
**Posts on this page:** 17
**Page:** 2

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [3월 12, 2018, 8:23오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/22 "2018-03-12T08:23:09Z")

</div>

Okay, could you try running the `post-create-listener` of Babble to see if that fixes it?

---

<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: [3월 12, 2018, 3:02오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/23 "2018-03-12T15:02:31Z")

</div>

Oh excellent, that did it, thank you! I can confirm that posts are coming up as expected now.

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [3월 12, 2018, 8:22오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/24 "2018-03-12T20:22:40Z")

</div>

Okay, I’ve merged that branch into master now, and bumped the version, so this should work in Babble from now on. 👍

---

<div class="post-metadata">

### Author: ![ssvenn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ssvenn/32/86740_2.png) [@ssvenn](https://meta.discourse.org/u/ssvenn)
#### Post date: [3월 21, 2018, 4:31오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/25 "2018-03-21T16:31:37Z")

</div>

I am confused about what is the best method to create the discourse user accounts for bots!  
I would like to make several accounts similar to discobot that don’t have a valid email address and are dedicated for API use, is there a commandline way to do that? “rake admin:create” sanity checks the email address before creating the user.

Our environment has SSO enabled against a windows AD and I would rather not have to create extra domain users and exchange accounts just to get some spare email addresses for my bot accounts 🙂

---

<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: [3월 21, 2018, 7:44오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/26 "2018-03-21T19:44:51Z")

</div>

You can create them with any (non conflicting) email from that rake task, since they will not be authenticating against your sso.

You would most likely want to turn off the email notifications in the bot profile just so no email is ever attempted to get sent there too.

---

<div class="post-metadata">

### Author: ![justnisdead](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@justnisdead](https://meta.discourse.org/u/justnisdead)
#### Post date: [6월 23, 2018, 3:27오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/27 "2018-06-23T03:27:54Z")

</div>

Does the bot only reply if the post begins with “@hubot”? I’d like to be able to have a complete message and then use bot commands at the bottom of the message. Something like:

> I swing my giant axe and it comes down on the goblin!  
> @hubot roll 1d20+3

But I’m not getting a response unless I’m referencing the bot in the first word.

---

<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: [6월 23, 2018, 3:35오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/28 "2018-06-23T15:35:31Z")

</div>

That’s the difference between `robot.respond` and `robot.hear` – you can use the latter to catch expressions like `roll {thing}`. If you don’t mind reading coffeescript, you can read my dice roller implementation [here](https://github.com/featheredtoast/wotcher/blob/master/src/dice-roller.coffee).

---

<div class="post-metadata">

### Author: ![justnisdead](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@justnisdead](https://meta.discourse.org/u/justnisdead)
#### Post date: [6월 23, 2018, 4:25오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/29 "2018-06-23T16:25:13Z")

</div>

This is exactly what I need. Thanks for the response!

---

<div class="post-metadata">

### Author: ![Ankit\_Mehra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankit_mehra/32/101404_2.png) [@Ankit\_Mehra](https://meta.discourse.org/u/Ankit_Mehra)
#### Post date: [10월 4, 2018, 12:46오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/30 "2018-10-04T12:46:11Z")

</div>

Need help installing this adapter. Do I install this on the server. As in do I ssh in, move to /var/discourse and then follow the instructions as mentioned in the github link?

---

<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: [10월 4, 2018, 4:46오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/31 "2018-10-04T16:46:36Z")

</div>

Hubot can be installed completely separate from your discourse instance. You may install it on the same server as your running Discourse, but it is not necessary to do so.

All that’s needed is an API key, through which the bot communicates with the Discourse instance.

The Hubot adapter to talk to Discourse is installed alongside the Hubot instance when you’re [setting it up](https://github.com/featheredtoast/hubot-discourse-adapter#getting-started).

---

<div class="post-metadata">

### Author: ![sempermma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sempermma/32/124173_2.png) [@sempermma](https://meta.discourse.org/u/sempermma)
#### Post date: [11월 14, 2018, 11:01오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/32 "2018-11-14T11:01:06Z")

</div>

I’ve got **Hubot** up and running like a champ – so thank you for the guidance here!

Is there a way to have the bot automatically follow all categories? Currently, we’re having to go and manually add the categories.

Any help is greatly appreciated!

---

<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: [11월 14, 2018, 6:15오후 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/33 "2018-11-14T18:15:21Z")

</div>

Thanks for the feedback - there’s no way to currently let the bot follow all categories automatically unfortunately. It does seem like a decent candidate for a configurable option though.

I consider it a nice to have though, since it shouldn’t be too much effort to sign in as the bot and set categories (depending on the number of categories!).

---

<div class="post-metadata">

### Author: ![sempermma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sempermma/32/124173_2.png) [@sempermma](https://meta.discourse.org/u/sempermma)
#### Post date: [11월 17, 2018, 1:40오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/34 "2018-11-17T01:40:49Z")

</div>

Thank you for the response! It’s that last bit that gets us. We utilize Discourse for an enterprise that has 100+ individual activities, hundreds of managers, and thousands of users.

As the platform grows, it becomes a pain to track and update Hubot to follow. It’d be nice if there were a group option that once assigned to, the user (or bot) automatically follows all.

Again, thank you!

---

<div class="post-metadata">

### Author: ![wendellverli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wendellverli/32/280396_2.png) [@wendellverli](https://meta.discourse.org/u/wendellverli)
#### Post date: [10월 1, 2024, 5:41오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/37 "2024-10-01T05:41:24Z")

</div>

이 플러그인에 대한 구체적인 정보를 찾고 있는데… 단편적인 정보만 찾을 수 있습니다.

포럼의 테마나 주제에 맞춰진 ChatGPT와 같은 봇을 활성화할 수 있는 플러그인이 있을까요?

예를 들어, 사진가들을 위한 포럼을 운영하고 있는데, 사진 관련 모든 것에 대해 ChatGPT를 활성화할 수 있으면 좋겠습니다.

가능할까요?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [10월 1, 2024, 6:00오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/38 "2024-10-01T06:00:39Z")

</div>

> [@wendellverli](#):
>
> 포럼의 테마/주제에 맞춰져 있나요?

네, [Chatbot](https://meta.discourse.org/t/discourse-chatbot/256652)을 사용하면 시스템 프롬프트를 간단히 조정하여 해당 역할에 맞게 작동하도록 설정할 수 있습니다. 확장성도 갖추고 있습니다. 필요에 따라 추가 도구를 커스터마이징할 수 있습니다.

---

<div class="post-metadata">

### Author: ![wendellverli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wendellverli/32/280396_2.png) [@wendellverli](https://meta.discourse.org/u/wendellverli)
#### Post date: [10월 1, 2024, 6:10오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/39 "2024-10-01T06:10:42Z")

</div>

멋지네요! 이 플러그인을 설치하고 싶은데, 개발자가 아니라서 할 수 있을지 잘 모르겠습니다… 그래도 우리 커뮤니티에서 사용할 수 있게 하고 싶은데 😕 도와주실 수 있을까요?

저희 커뮤니티: [https://forum.fotografos.online](https://forum.fotografos.online)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [10월 1, 2024, 6:18오전 UTC](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419/40 "2024-10-01T06:18:18Z")

</div>

자체 호스팅을 사용 중이신가요?

설치 방법은 [플러그인 주제](https://meta.discourse.org/t/discourse-chatbot/256652#p-1247153-setup-4)에서 확인하실 수 있습니다.

설치 과정은 다른 플러그인을 추가하는 것과 매우 유사합니다:

> [@Install plugins on a self-hosted site](https://meta.discourse.org/t/install-plugins-on-a-self-hosted-site/19157?u=merefield):
>
> warning This guide assumes that you have a self-hosted standard installation. We only support the standard method of install here, so these instructions assume you have a [standard install](https://meta.discourse.org/t/142537?silent=true). warning This guide only applies to self-hosted Discourse instances. If you are using a managed hosting service, the available plugins are controlled by your hosting provider. For example, on our hosting [these specific plugins](https://www.discourse.org/plugins) are available by hosting tier. information_source As of mid-2025, [many p…](https://meta.discourse.org/t/373574)

물론 고유한 설정 사항이 있습니다.

원하시면 저에게 더 집중적인 지원을 의뢰하실 수 있습니다 (편하게 DM을 보내주세요).

[이전 페이지](https://meta.discourse.org/t/hubot-adapter-for-discourse/63419.md?page=1)
