Skip to content

Add Discord notifications to wasteland skill#1

Open
pae23 wants to merge 2 commits intogastownhall:mainfrom
pae23:feature/discord-wasteland-notifications
Open

Add Discord notifications to wasteland skill#1
pae23 wants to merge 2 commits intogastownhall:mainfrom
pae23:feature/discord-wasteland-notifications

Conversation

@pae23
Copy link
Copy Markdown

@pae23 pae23 commented Mar 4, 2026

Summary

  • Adds optional Discord webhook notifications to the /wasteland skill
  • Mutating commands (post, claim, done) fire a Discord embed after success
  • New setup-discord command for one-time webhook configuration
  • Fire-and-forget: notifications never block or fail the main command

Changes

  • plugins/wasteland/skills/wasteland/SKILL.md: +138 lines
    • "Common: Discord Notification" section with webhook detection logic
    • Discord notify steps added to post, claim, and done commands
    • New setup-discord command with webhook URL validation and test ping
    • Color-coded embeds: green (posted), yellow (claimed), blue (completed), purple (validated)

Test plan

  • Run /wasteland setup-discord — configure a webhook URL
  • Run /wasteland post — verify Discord embed appears (green)
  • Run /wasteland claim <id> — verify Discord embed (yellow)
  • Run /wasteland done <id> — verify Discord embed (blue)
  • Verify no-webhook path: delete ~/.hop/discord-webhook.txt, run a command, confirm prompted once then DISABLED works

🤖 Generated with Claude Code

pae23 and others added 2 commits March 4, 2026 22:23
Adds optional Discord notifications for mutating commands (post, claim, done).
Fire-and-forget — never blocks the main command. Includes setup-discord command
for webhook configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SKILL.md now posts notifications via a bot HTTP endpoint instead of
requiring per-user webhook URLs. The bot verifies rig registration
before posting. Removes setup-discord webhook flow, replaces with
bot URL configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pae23
Copy link
Copy Markdown
Author

pae23 commented Mar 4, 2026

⚠️ Do NOT merge yet — this PR depends on the Wasteland Discord bot being deployed first.

Blockers

  1. Bot must be running — the SKILL.md references a bot URL ($BOT_URL/notify) that doesn't exist yet. See Add Wasteland Discord bot for community notifications community#2 for the bot code.
  2. Domain TBDhttps://wasteland-bot.hop.dev is a placeholder. Needs a real endpoint once the bot is hosted.

Why a bot?

Without a bot, there's no way to post to a community Discord channel without the server admin distributing webhook URLs to every user individually — that doesn't scale.

The bot solves this by being a single entry point that any registered rig can POST to. But beyond notifications, a Discord bot opens up a lot of possibilities:

  • Scoreboards and leaderboards (stamps, completions)
  • Gamification and emulation between rigs
  • Live wanted board browsing from Discord
  • Validator workflows directly in Discord threads

The bot could become a real community engagement layer, not just a notification pipe.

Merge order

  1. Deploy the bot (community#2 or its own repo — TBD with maintainer)
  2. Update the bot URL in this SKILL.md
  3. Then merge this PR

@pae23
Copy link
Copy Markdown
Author

pae23 commented Mar 4, 2026

Related: gastownhall/community#2 (the Discord bot this SKILL.md depends on)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant