Function get_guild_onboarding
Source pub async fn get_guild_onboarding(
client: &Client,
token: &str,
guild_id: &str,
) -> Result<Value, Box<dyn Error>>
Expand description
Fetches the onboarding settings of 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 to fetch the onboarding settings for.
§Returns
A result containing the onboarding settings as a JSON value.