Skip to content

Commit

Permalink
Padded user discrminators
Browse files Browse the repository at this point in the history
  • Loading branch information
Auralytical committed Jun 8, 2016
1 parent 4e2b919 commit 03c0f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord.Net/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,6 @@ internal User Clone()
}
private User() { } //Used for cloning

public override string ToString() => Name != null ? $"{Name}#{Discriminator}" : Id.ToIdString();
public override string ToString() => Name != null ? $"{Name}#{Discriminator.ToString("D4")}" : Id.ToIdString();
}
}

0 comments on commit 03c0f67

Please sign in to comment.