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"; } }