Skip to content

Commit

Permalink
docs: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandserver committed Jul 23, 2023
1 parent ad2ee59 commit d196951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/dpp/cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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());

Expand Down

0 comments on commit d196951

Please sign in to comment.