/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
Parameters
The target GitHub repository for the new issue. Choose from:
| Choice | Repository |
|---|---|
/effect | effect-ts/effect |
/website | effect-ts/website |
/effect-smol | effect-ts/effect-smol |
Behavior
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.
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.
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.
Issue format
The created GitHub issue has the following structure:Permissions
This command can be run by any server member, but the bot must have write access to the target GitHub repository via the configuredGITHUB_TOKEN.