Skip to content

feat: add guild messages search endpoint#1565

Open
Sim-hu wants to merge 1 commit intobrainboxdotcc:devfrom
Sim-hu:feat/search-guild-messages
Open

feat: add guild messages search endpoint#1565
Sim-hu wants to merge 1 commit intobrainboxdotcc:devfrom
Sim-hu:feat/search-guild-messages

Conversation

@Sim-hu
Copy link

@Sim-hu Sim-hu commented Mar 26, 2026

Summary

Implements the Search Guild Messages endpoint (GET /guilds/{guild.id}/messages/search).

  • Adds message_search_params struct with all query parameters from the API spec
  • Adds message_search_result struct for the response (including nested message arrays)
  • Adds guild_messages_search() and coroutine wrapper co_guild_messages_search()
  • Enums for has, sort_by, and sort_order filter values

Closes #1563

Implement the Search Guild Messages endpoint (GET /guilds/{guild.id}/messages/search)
as described in the Discord API documentation, resolving brainboxdotcc#1563.

Adds message_search_params struct for query parameters, message_search_result struct
for the response, and guild_messages_search method on the cluster with coroutine support.
@netlify
Copy link

netlify bot commented Mar 26, 2026

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit d2df716
🔍 Latest deploy log https://app.netlify.com/projects/dpp-dev/deploys/69c4fc36f7b32000088140fc
😎 Deploy Preview https://deploy-preview-1565--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Mar 26, 2026
@braindigitalis
Copy link
Contributor

looking good, just one question, is the cluster coro stuff generated automatically by the php script? it has to be done that way not by hand but I can't tell from the pr.

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

Labels

code Improvements or additions to code. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants