Discord bot running on Cloudflare Workers that connects Discord channels to GitHub Project Boards in the Inled-Pulsar-OS and InledGroup organizations.
IssueBot is only the Discord bot: it runs stateless as a Discord Interactions webhook. There is no web panel, no public admin API and no stored data. Command registration is done locally with a script and your bot token.
Supported Project Boards:
- Inled-Pulsar-OS: https://github.com/orgs/Inled-Pulsar-OS/projects/1/views/2
- InledGroup: https://github.com/orgs/InledGroup/projects/1/views/1
Users can interact with IssueBot without typing syntax by clicking the inline buttons attached to bot responses:
- Pulsar (All) / InledGroup: Filter and display open issues from the selected board.
- Errors / Ideas / Help: Filter issues by category.
- New Issue Button: Opens a Discord modal form with fields for Organization, Type, Title, and Description.
- Comment Button: Opens a modal form to submit comments on any open issue number.
- Close Issue Button: Opens a modal form to close an issue with an optional reason.
- Help Button: Displays the interactive control center and command guide.
/issue help Show the interactive guide and buttons
/issue view [org] [type] List open issues from a board
/issue create <title> <org> <type> [details]
/issue comment <number> <message>
/issue close <number> [reason]
/help Interactive guide
/panel Post the button panel in the current channel
Every member of the server can use them: they are registered with default_member_permissions: "0", so no special role or administrator permission is required.
Command registration needs the bot token, so it runs locally, never from the deployed Worker:
# Commands available in every server the bot is in (may take up to 1 hour to appear)
DISCORD_BOT_TOKEN="..." node scripts/register-commands.mjs
# Faster: commands only in your own server, visible immediately to all members
DISCORD_BOT_TOKEN="..." node scripts/register-commands.mjs --guild=<SERVER_ID>The token can also be placed in .dev.vars as DISCORD_BOT_TOKEN=... (and optionally GUILD_ID=...), which the script reads automatically.
If members still cannot see the commands after registering:
- Re-invite the bot with both scopes
botandapplications.commands. - In Discord: Server Settings → Integrations → IssueBot and make sure no per-command permission override restricts it to administrators.
- If it was previously installed with restricted command permissions, remove and re-add the integration after registering with
default_member_permissions: "0".
# Discord bot token
npx wrangler secret put DISCORD_BOT_TOKEN
# GitHub token with project and repo scopes
npx wrangler secret put GITHUB_TOKEN
# Optional: avoids the extra API call to resolve the application public key
npx wrangler secret put DISCORD_PUBLIC_KEYThe Worker URL configured as Interactions Endpoint URL in the Discord Developer Portal must point to the Worker root (https://<worker>.workers.dev/).
-
Install dependencies:
npm install
-
Deploy the Worker:
npm run deploy
-
Check the logs:
npx wrangler tail
MIT - InledGroup
