GetDiscordUsername

Asynchronously retrieves the current user's Discord username and discriminator using the provided Discord application ID. Returns the username in "username#discriminator" format.

Usage:

Api.misc.GetDiscordUsername(string appId);

Example:

string discordAppId = "123456789012345678";
string discordUser = await Api.misc.GetDiscordUsername(discordAppId);
// Returns: "ArcaneDevz#1234"

Last updated