# Bot enter button fix for Discourse AI

**URL:** https://meta.discourse.org/t/bot-enter-button-fix-for-discourse-ai/408513
**Category:** Theme component
**Tags:** composer, deprecated, ai, ai-bot
**Created:** [July 25, 2026, 4:59pm UTC](https://meta.discourse.org/t/bot-enter-button-fix-for-discourse-ai/408513 "2026-07-25T16:59:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [July 25, 2026, 4:59pm UTC](https://meta.discourse.org/t/bot-enter-button-fix-for-discourse-ai/408513/1 "2026-07-25T16:59:15Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Reverts the Enter button to it’s usual new line behaviour for the post conversation with Discourse AI Bot |
| 🛠 | **Repository** | [https://github.com/Lillinator/bot-enter-button-fix.git](https://github.com/Lillinator/bot-enter-button-fix.git) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |

Install this theme component

> ⚠ this component is deprecated and should not be used. there is now a [core setting](https://meta.discourse.org/t/introducing-a-docked-composer-for-ai-bot-conversations/403327/21) in `user` → `preferences` → `interface` which allows users to toggle the feature on and off. the repo has been archived.

This simple theme component reverts the annoying Enter button submission behaviour on the post messages in conversations with the Bot in the Discourse AI plugin (messages, not chat). Hitting Enter goes to a new line, while submitting the post message to the Discourse AI bot will require clicking/tapping the paper-plane icon.

There are no settings. Simply install the theme component as usual, add it to your selected themes, and refresh your browser.

This component works whether you have the docked composer enabled or not.

 ![Screenshot 2026-07-25 at 9.52.28 AM](https://global.discourse-cdn.com/meta/original/4X/0/a/8/0a8a36df283bb877066d1adf89a57b0eeade4609.jpeg)

* * *
 **[Check out my other Discourse stuff](https://meta.discourse.org/filter?q=category%3Acustomization%20created-by%3ALilly%20order%3Acreated)**

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 4, 2026, 12:34pm UTC](https://meta.discourse.org/t/bot-enter-button-fix-for-discourse-ai/408513/3 "2026-08-04T12:34:09Z")

</div>

this component is deprecated because the ai team added a user preferences setting to control this behavior

> [@Introducing a docked composer for AI bot conversations](https://meta.discourse.org/t/introducing-a-docked-composer-for-ai-bot-conversations/403327/21):
>
> I just merged an update (should be deployed here soon) which moves the send shortcut to a core user setting and made use of it for the AI bot conversations docked composer. Edit: Live here on Meta I’ve also updated [ask.discourse.com](http://ask.discourse.com), which you can access it in the Fonts and Appearance settings:
