Table of Contents

Property Discriminator

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Discriminator

Gets the user's 4-digit discriminator.

[JsonProperty("discriminator", NullValueHandling = NullValueHandling.Ignore)]
public virtual string Discriminator { get; }

Property Value

string

Remarks

As of May 15th, 2023, Discord has begun phasing out discriminators in favor of handles (@username); this property will return "0" for migrated accounts.