Disabling trigger for discourse narrative bot

AI-generated summary

The discussion is about disabling a specific trigger in the Discourse narrative bot. Beatriz_Fracaro wants to disable the “roll” trigger, which provides a dice-rolling functionality, as it’s not aligned with their community’s objectives. pfaffman suggests that a plugin might be needed to achieve this, while pfaffman also recommends waiting until a problem arises before attempting to solve it.

riking proposes an alternative solution, which is to remove the ability of the @/discobot to reply in public topics, as the only purposes of the bot in public topics are to provide instructions for restarting tutorials and rolling dice. Falco points out that this setting already exists as discourse narrative bot disable public replies.

Is it possible to disable only one trigger in Discourse narrative bot?

I looked everywhere around the internet. I’m wondering if someone here could help me with that.

I saw somewhere that it’s not possible to disable pretty much anything on Discourse Bot (aside from deactivating that option completely, which we don’t want to do), but since it wasn’t an “official” answer, I thought it would be better to ask here.

The trigger we’d like to disable is the following:

 trigger: "roll"
  invalid: |-
    I’m sorry, it is mathematically impossible to roll that combination of dice. :confounded:
  not_enough_dice:
    one: "I only have %{count} die. [Shameful](https://www.toplessrobot.com/2009/04/the_10_most_shameful_rpg_dice.php), I know!"
    other: "I only have %{count} dice. [Shameful](https://www.toplessrobot.com/2009/04/the_10_most_shameful_rpg_dice.php), I know!"
  out_of_range: |-
    Did you know that [the maximum number of sides](https://www.wired.com/2016/05/mathematical-challenge-of-designing-the-worlds-most-complex-120-sided-dice) for a mathematically fair die is 120?
  results: |-
    > :game_die: %{results}

I think that it would take a plugin. I’m curious what problem the dice trigger is causing.

It’s not causing a problem, per say. It’s just something that we won’t be using in our community and we don’t want users getting that response when triggering “roll” and wondering what is going on.

In general, that dynamic is not aligned with the objectives and strategy of what we are trying to do in our community.

We just don’t want users getting a random response from a trigger that we can’t (?) disable

I would recommend that you wait until you have a problem to go about solving it. It’s hard to imagine that someone is going to trigger that dice roll by mistake.

The roller has always been a little awkward, which is why I made this theme component:

We could probably entirely remove the ability of @/discobot to reply in public topics, seeing as the only purpose is (1) to provide instructions for restarting the tutorials and (2) rolling dice.

@riking Thank you! I think this will help! :slightly_smiling_face:

To be clear: that’s a proposed course of action, NOT something that has already happened.

I got it. Thank you :grin:

We already have this setting as discourse narrative bot disable public replies