Skip to main content
The /repro command uses AI to generate a short, lighthearted message reminding thread participants that a minimal reproduction is needed before the issue can be investigated further. The AI reads the thread’s message history for context before generating the message.

Usage

/repro

Parameters

This command has no parameters.

Behavior

1

Acknowledge the command

The bot sends a deferred public response immediately. This prevents the interaction from timing out while the AI generates the message.
2

Read thread context

The bot reads the current thread’s message history and uses it as context for the AI.
3

Generate the message

The AI generates a short, funny message requesting a minimal reproduction. The system prompt used is:
You are Effect Bot, a helpful assistant for the Effect Discord community.

Generate a short funny message to the user that a minimal reproduction
of the issue is required for further investigation.
4

Post the response

The deferred message updates with the AI-generated text, posted publicly in the thread.

Permissions

No special permissions are required. Any server member can run /repro inside a thread.

Error cases

Running /repro outside of a thread returns an ephemeral error:
This command can only be used in a thread
If the AI generation fails, the error is logged and the deferred message may not update. No error is surfaced to the user in this case.