From d196951d1e79ed3ebc845fe2cc2b528dd4b11919 Mon Sep 17 00:00:00 2001 From: Phil B Date: Sun, 23 Jul 2023 22:11:34 +0200 Subject: [PATCH] docs: typo --- include/dpp/cluster.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dpp/cluster.h b/include/dpp/cluster.h index d26b0e9c48..201062430d 100644 --- a/include/dpp/cluster.h +++ b/include/dpp/cluster.h @@ -2674,7 +2674,7 @@ class DPP_EXPORT cluster { * @see https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen * @param guild_id The guild ID to get the welcome screen from * @param callback Function to call when the API call completes. - * On success the callback will contain a dpp::guild_welcome_screen object in confirmation_callback_t::value filled to match the vanity url. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error(). + * On success the callback will contain a dpp::welcome_screen object in confirmation_callback_t::value filled to match the vanity url. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error(). */ void guild_get_welcome_screen(snowflake guild_id, command_completion_event_t callback); @@ -2688,7 +2688,7 @@ class DPP_EXPORT cluster { * @param welcome_screen The welcome screen * @param enabled Whether the welcome screen should be enabled or disabled * @param callback Function to call when the API call completes. - * On success the callback will contain a dpp::guild_welcome_screen object in confirmation_callback_t::value filled to match the vanity url. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error(). + * On success the callback will contain a dpp::welcome_screen object in confirmation_callback_t::value filled to match the vanity url. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error(). */ void guild_edit_welcome_screen(snowflake guild_id, const struct welcome_screen& welcome_screen, bool enabled, command_completion_event_t callback = utility::log_error());