Esempio n. 1
0
        }                  //Used for cloning

        public override string ToString() => Name != null ? $"{Name}#{Discriminator.ToString("D4")}" : Id.ToIdString();
Esempio n. 2
0
 public override string ToString()
 {
     return($"{Username}#{"0000".Remove(4 - Discriminator.ToString().Length) + Discriminator.ToString()}");
 }
Esempio n. 3
0
 /// <summary>
 /// Formats the user into username#discriminator
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(Username + "#" + Discriminator.ToString("D4"));
 }