provider GET /guilds/{guild_id}/messages/search
@utdk/discord /guilds/{guild_id}/messages/search
guild_search
guild_id path required
string
sort_by query
string
sort_order query
string
content query
string
slop query
integer
author_id query
array
author_type query
array
mentions query
array
mentions_role_id query
array
replied_to_user_id query
array
replied_to_message_id query
array
mention_everyone query
boolean
min_id query
string
max_id query
string
limit query
integer
offset query
integer
has query
array
link_hostname query
array
embed_provider query
array
embed_type query
array
attachment_extension query
array
attachment_filename query
array
pinned query
boolean
include_nsfw query
boolean
channel_id query
array

Try it

Authentication
Configure credentials for Discord HTTP API (Preview)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

guildSearch
GET/guilds/{guild_id}/messages/search

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import discord from '@utdk/discord';

await discord.guildSearch()