From 6af4e4c69891bcf0797b3369b5f814f053de43e1 Mon Sep 17 00:00:00 2001 From: Anthony Tesija Date: Fri, 17 Oct 2025 13:42:42 +0000 Subject: [PATCH] Fix result check --- .../development-guides/using-provisional-accounts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx b/docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx index 6e92bd3ad0..46786bc478 100644 --- a/docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx +++ b/docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx @@ -284,7 +284,7 @@ If you'd like to set the display name for a provisional account, you can use the ```cpp client->UpdateProvisionalAccountDisplayName("CoolPlayer123", [](discordpp::ClientResult result) { - if (!result.Successful()) { + if (result.Successful()) { std::cout << "✅ Display name updated\n"; } }