# Building a custom bot

**URL:** <https://meta.discourse.org/t/building-a-custom-bot/154824>\
**Category:** Product Support\
**Created:** [June 14, 2020, 7:55pm UTC](https://meta.discourse.org/t/building-a-custom-bot/154824 "2020-06-14T19:55:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)\
**Post date:** [June 14, 2020, 7:55pm UTC](https://meta.discourse.org/t/building-a-custom-bot/154824/1 "2020-06-14T19:55:34Z")

</div>

I’ve been looking for a way to create a custom bot that users can interact with in public topics. They would be able to type something like

```plaintext
@botname command arg1 arg2

```

and the bot would reply in the topic with the requested output.

It looks like it isn’t possible to do that with discobot, so I was going to write a webhook receiver in an external cloud function to listen for mentions of the custom bot’s name. The bot would then post a reply via the API.

Has anyone done something similar to that already in a plugin? Or is there a better way to implement that kind of feature?

I thought I would ask here, because sometimes I ask a question and it turns out that there is already an existing solution.

---

_[View the full topic](https://meta.discourse.org/t/building-a-custom-bot/154824)._
