mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: import nickname from Tupperbox
This commit is contained in:
parent
3bc451eb4b
commit
456545efe8
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ namespace PluralKit.Core
|
|||
patch.Birthday = LocalDate.FromDateTime(parsed.Value.ToDateTimeUtc());
|
||||
}
|
||||
if (tupper.ContainsKey("description")) patch.Description = tupper.Value<string>("description");
|
||||
if (tupper.ContainsKey("nick")) patch.DisplayName = tupper.Value<string>("nick");
|
||||
if (tupper.ContainsKey("tag") && tupper["tag"].Type != JTokenType.Null)
|
||||
{
|
||||
var tag = tupper.Value<string>("tag");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue