Reuse the bot’s existing incoming webhooks during Discord setup #31
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!31
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-31"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RavenCurseBurg on GitHub · 2026-11-26 05:28 UTC · original
RavenCurseBurg:fix/reuse-project-webhooks→main· +63 −11 · 3 files · 1 commits · openRunning
discord_setup.py --apply --webhookstwice previously created four hooks for two channels. The setup now lists each channel’s webhooks and reuses the incomingGTAVI-Recomphook created by the same bot. A matching name on someone else’s hook or a channel-follower hook does not count. The URL is printed when the script creates a hook. The setup guide explains how a maintainer can retrieve it later. Discord webhook fields and channel endpointI ran the full CLI against two synthetic channels with an in-memory API, in the sequence apply, plan, apply. The parent left 2, 2 and 4 hooks. The change left 2, 2 and 2, and the second apply printed no URL. All 46 Python tooling tests and all three native Release CTests passed. Verification used synthetic tokens and made no Discord requests.
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.