Add Wasteland Discord bot for community notifications#2
Open
pae23 wants to merge 2 commits intogastownhall:mainfrom
Open
Add Wasteland Discord bot for community notifications#2pae23 wants to merge 2 commits intogastownhall:mainfrom
pae23 wants to merge 2 commits intogastownhall:mainfrom
Conversation
Adds the /wasteland skill for Claude Code with built-in Discord webhook notifications on claim, post, and done commands. Includes setup-discord command for first-time configuration. Users who decline are not asked again. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Node.js bot (discord.js + express) that: - Exposes /notify HTTP endpoint for wasteland skill to POST to - Verifies sender is a registered rig via DoltHub API - Posts color-coded embeds to a configured Discord channel - Provides /wasteland-status and /wasteland-rigs slash commands - Fails open on DoltHub API errors (never blocks notifications) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
|
Note: this bot code might be happier in its own repo (e.g. Happy to move it if the maintainer prefers — just let us know. |
5 tasks
Author
|
Related: gastownhall/marketplace#1 (SKILL.md update that uses this bot — blocked until bot is deployed) |
Contributor
|
we're working on something here. stay tuned. |
|
What happens when users register their rig, and starts firing /wasteland claim/done but before their submissions are merged? At that point, their rigs won't be seen as 'registered' yet. Does the bot ignore those notifications until they are? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bot/wasteland-discord/) for Wasteland wanted board notifications/wastelandskill and posts embeds to a Discord channel/wasteland-statusand/wasteland-rigsslash commandsHow it works
/wasteland post,/wasteland claim, or/wasteland done, the skill POSTs to the bot's/notifyendpointrigstable on DoltHubNo per-user webhook setup needed — the bot is the single entry point.
Companion PR
Test plan
npm install && DISCORD_BOT_TOKEN=... DISCORD_CHANNEL_ID=... npm startcurl -X POST localhost:3141/notify -H 'Content-Type: application/json' -d '{"handle":"pae23","event":"posted","title":"Test","id":"w-test"}'/wasteland-statusslash command in Discord🤖 Generated with Claude Code