The library detects users as Webhook after the last Discord update
hunter8288 opened this issue · comments
After the last Discord update, many users have registered nicknames for themselves, and their discriminators have become zero. Now the library defines such users as Webhook, I think this needs to be fixed, but I don’t know how.
\REST\User\User\DiscordUser.cs
public DiscordUserType Type
{
get
{
if (Discriminator == 0)
return DiscordUserType.Webhook;
else
return _bot ? DiscordUserType.Bot : DiscordUserType.User;
}
}
will be fixed in a few years.