Function search_guild_members
Source pub async fn search_guild_members(
client: &Client,
token: &str,
guild_id: &str,
query: &str,
) -> Result<Value, Box<dyn Error>>
Expand description
Searches for members in a Discord guild.
§Arguments
client - The HTTP client used to send the request.
token - The bot token for authentication.
guild_id - The ID of the guild.
query - The search query string.
§Returns
A result containing the search results as a JSON value.