Open in playground is a message context menu command — not a slash command. You access it by right-clicking (or long-pressing on mobile) any message, then selecting Apps → Open in playground. The command extracts code blocks from the message, base64url-encodes them, and returns an ephemeral link to the Effect Playground.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Effect-TS/discord-bot/llms.txt
Use this file to discover all available pages before exploring further.
Usage
- Right-click a message containing a code block.
- Select Apps.
- Select Open in playground.
The response is always ephemeral — only you can see the generated link.
Behavior
Extract code blocks
The bot scans the message content for fenced code blocks using the following pattern:If the message contains multiple code blocks, their contents are joined with two blank lines between them.
Encode the code
The extracted code is base64url-encoded using
Encoding.encodeBase64Url, then appended to the playground URL:Return the link
The bot responds with an ephemeral message:
Here is your playground link.