# Chatbots Creation

**URL:** https://meta.discourse.org/t/chatbots-creation/241005
**Category:** Support
**Created:** [October 5, 2022, 11:03am UTC](https://meta.discourse.org/t/chatbots-creation/241005 "2022-10-05T11:03:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yhh9xdq7dc](https://avatars.discourse-cdn.com/v4/letter/y/f17d59/32.png) [@yhh9xdq7dc](https://meta.discourse.org/u/yhh9xdq7dc)
#### Post date: [October 5, 2022, 11:03am UTC](https://meta.discourse.org/t/chatbots-creation/241005/1 "2022-10-05T11:03:43Z")

</div>

For the creation of chat bots(like the discobot) is it better to create a plugin for Discourse or an external app (always developed in Ruby or maybe Python) that connects to the Discourse APIs? Maybe explain the reasons why one or the other choice is better! Many thanks in advance.

---

<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: [October 5, 2022, 1:48pm UTC](https://meta.discourse.org/t/chatbots-creation/241005/3 "2022-10-05T13:48:31Z")

</div>

My plugin is essentially a chat bot (albeit purely for entertainment) and serves as an example of doing it entirely within Discourse:

> [@Discourse Frotz mage](https://meta.discourse.org/t/discourse-frotz-an-interactive-fiction-game-bot/140617):
>
> Wooah, a new plugin! tada This one is a little less serious, though. video_gameDiscourse Frotz [[image] ](https://global.discourse-cdn.com/meta/original/3X/4/7/477f2c8c14006fa019eea94d4ba9bd95b7259412.png) It’s no longer necessary to @ mention the bot every step of the way. Once in play, just reply to it. Git repo: [GitHub - merefield/discourse-frotz: A plugin that uses Frotz to give you an interactive fiction experience on your Discourse forum · GitHub](https://github.com/merefield/discourse-frotz)What is it It’s a ‘bot’ with which to play interactive fiction aka classic text adventure …

The advantage of creating it as a plugin is you have less infrastructure to maintain and you have less authentication to worry about.

Then again, if you are using a third party AI you are going to need to make a lot of external calls and manage those things anyway, so its 6 of one and half of the other …

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 4, 2022, 1:48pm UTC](https://meta.discourse.org/t/chatbots-creation/241005/4 "2022-11-04T13:48:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
