Skip to main content
The /issueify command collects all messages from the current thread, uses GPT to generate a concise title and summary, and creates a GitHub issue in the chosen repository. A link back to the Discord thread is automatically included in the issue body.
This command requires a configured GITHUB_TOKEN and OPENAI_API_KEY in the bot environment.

Usage

/issueify repository:<repo>

Parameters

repository
number
required
The target GitHub repository for the new issue. Choose from:
ChoiceRepository
/effecteffect-ts/effect
/websiteeffect-ts/website
/effect-smoleffect-ts/effect-smol

Behavior

1

Acknowledge the command

The bot sends a deferred response immediately, indicating it is working. This prevents the interaction from timing out while the AI runs.
2

Collect thread messages

All messages in the thread are collected and formatted as a conversation.
3

Generate title and summary

GPT-4.1-mini generates a ThreadSummary object containing:
  • A short title for the issue.
  • A detailed summary of the thread suitable for a bug report or feature request.
4

Create the GitHub issue

The bot opens an issue in the chosen repository with:
  • Title: From Discord: {generated title}
  • Body: The summary followed by a link back to the Discord thread.
5

Post the result

The deferred message updates with a direct link to the newly created issue.

Issue format

The created GitHub issue has the following structure:
# Summary
{AI-generated summary with key takeaways}

# Discord thread

https://discord.com/channels/{guild_id}/{channel_id}

Permissions

This command can be run by any server member, but the bot must have write access to the target GitHub repository via the configured GITHUB_TOKEN.

Error cases

Running /issueify outside of a thread returns an ephemeral error:
This command can only be used in a thread
If issue creation fails (for example, due to an API error or missing permissions), the bot updates the deferred message with the full error details. That message is then automatically deleted after 1 minute.

Build docs developers (and LLMs) love