Skip to content

feat(discord): add message edit and delete admin actions#15864

Open
StatPan wants to merge 1 commit into
NousResearch:mainfrom
StatPan:feat/discord-message-admin
Open

feat(discord): add message edit and delete admin actions#15864
StatPan wants to merge 1 commit into
NousResearch:mainfrom
StatPan:feat/discord-message-admin

Conversation

@StatPan
Copy link
Copy Markdown

@StatPan StatPan commented Apr 26, 2026

Summary

  • add discord_admin.edit_message(channel_id, message_id, content)
  • add discord_admin.delete_message(channel_id, message_id)
  • wire both through the existing Discord action manifest, schema, handler defaults, required-parameter validation, and 403 hints
  • add tests for action calls, registry handler content propagation, admin/core schema split, validation, and 403 enrichment

Part of #1559.

Test Plan

  • python3 -m pytest tests/tools/test_discord_tool.py -q -o addopts=

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have platform/discord Discord bot adapter comp/tools Tool registry, model_tools, toolsets labels Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tools Tool registry, model_tools, toolsets P3 Low — cosmetic, nice to have platform/discord Discord bot adapter type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants