# Discobot broken when I send it a.com, example.com in its tutorial?

**URL:** https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406
**Category:** Bug
**Tags:** discobot, fixed
**Created:** [August 19, 2026, 4:31am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406 "2026-08-19T04:31:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sk-or-v1-contents](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sk-or-v1-contents/32/547175_2.png) [@sk-or-v1-contents](https://meta.discourse.org/u/sk-or-v1-contents)
#### Post date: [August 19, 2026, 4:31am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406/1 "2026-08-19T04:31:21Z")

</div>

The links I sent are `a.com`, `example.com`, `https://example.com` and `https://en.wikipedia.org/wiki/Exotic_Shorthair`. discobot stops replying and only sends a “checking on you” message a few minutes later (not in screenshot).

(Click on the screenshot to view whole dialogue. Can’t reprorduce on [try.discourse.org](http://try.discourse.org) because it doesn’t have discobot greeting)

 ![Long screenshot of the discobot interaction](https://global.discourse-cdn.com/meta/original/4X/2/5/a/25a64e43431b46b9cbaf16ec49eaf3194e059439.jpeg)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [August 19, 2026, 7:02am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406/4 "2026-08-19T07:02:29Z")

</div>

Seems like a legit bug. From what I can see in the code, the onebox tutorial actually only accepts these 3 specific links, so its instructions are plain wrong. The code even mentions something about it:

[https://github.com/discourse/discourse/blob/b828735c770e5054d54f6e4d3dbf38b322c3cc84/plugins/discourse-narrative-bot/lib/discourse\_narrative\_bot/new\_user\_narrative.rb#L270-L276](https://github.com/discourse/discourse/blob/b828735c770e5054d54f6e4d3dbf38b322c3cc84/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/new_user_narrative.rb#L270-L276)

```plaintext
      # NOTE: This can be a bit brittle if people change the site text for
      # discourse_narrative_bot.new_user_narrative.onebox.instructions, or if
      # the user drops some other random link, but we accept that risk for now.
      found_link =
        @post.raw.match(
          %r{https://en\.wikipedia\.org/wiki/(Inherently_funny_word|Death_by_coconut|Calculator_spelling)},
        )

```

Now I know we’re not really investing more in the Discobot tutorial, but this is still iffy. What should we do @martin ? Could we at least add the `Exotic_Shorthair` link to the regex so at least the fallback works again?

(Moving this to bug regardless though.)

Crossposting this too [Discobot Links are confusing in some translations](https://meta.discourse.org/t/discobot-links-are-confusing-in-some-translations/387155)

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [August 19, 2026, 7:43am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406/5 "2026-08-19T07:43:13Z")

</div>

> [@chapoi](#):
>
> Now I know we’re not really investing more in the Discobot tutorial, but this is still iffy. What should we do @martin ? Could we at least add the `Exotic_Shorthair` link to the regex so at least the fallback works again?

Yeah this is the fix, you can just add `|Exotic_Shorthair` to that `post.raw.match` regex

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [August 19, 2026, 7:54am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406/6 "2026-08-19T07:54:18Z")

</div>

Done in

> <https://github.com/discourse/discourse/pull/42715>
>
> Reported https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-examp…le-com-in-its-tutorial/410406

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [August 20, 2026, 5:09am UTC](https://meta.discourse.org/t/discobot-broken-when-i-send-it-a-com-example-com-in-its-tutorial/410406/7 "2026-08-20T05:09:59Z")

</div>


