Repository navigation
Discord chat: "Report to moderators" on any message in the server - #449
Merged
Merged
Conversation
discord_chat_reports_enabled registers a message command, so right-clicking or long-pressing a message → Apps → "Report to moderators" sends it to the moderators. The reporter gets a private "Sent" reply at once; a job posts the report to the moderators' log channel and messages the forum's moderators group with the reporter and author (and their forum accounts when linked), a link to the message and its text. The reported text is untrusted: on the forum it goes in a plain code block with its own fences defused, accounts are shown as profile links rather than @mentions, and the log line pings nobody. Only reports from the configured server are taken, 5 per member per hour. It works whether or not the slash commands are on; the registered list now comes from Commands.definitions. Off by default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BUGDaR7qv2d8CuVp7UGSTs
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Re-opened from #446 (closed when the stack below it merged).
Message command (right-click → Apps → Report to moderators). Ephemeral "Sent" reply; a job posts to #mod-log and messages the forum moderators group with the text in a plain code block (no mentions, fences defused). Configured guild only, 5/hour/member, works with slash commands off. Default off (
discord_chat_reports_enabled).🤖 Generated with Claude Code
https://claude.ai/code/session_01BUGDaR7qv2d8CuVp7UGSTs