Skip to content

Our user update method(s) might miss some parts #3078

@Lulalaby

Description

@Lulalaby

as ref:

		usr = this.UserCache.AddOrUpdate(usr.Id, usr, (id, old) =>
		{
			old.Username = usr.Username;
			old.Discriminator = usr.Discriminator; // obsolete
			old.GlobalName = usr.GlobalName;
			old.AvatarHash = usr.AvatarHash;
			old.BannerHash = usr.BannerHash;
			old.BannerColorInternal = usr.BannerColorInternal;
			old.AvatarDecorationData = usr.AvatarDecorationData;
			old.Collectibles = usr.Collectibles;
			old.ThemeColorsInternal = usr.ThemeColorsInternal;
			old.PrimaryGuild = usr.PrimaryGuild;
			old.DisplayNameStyles = usr.DisplayNameStyles;
			old.Nameplate = usr.Nameplate;
			return old;
		});

i think thats all rn

Originally posted by @Lulalaby in #3077 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    API reflectionDiscord API isn't correctly reflectedbugSomething isn't workingpriority: lowLow Priority

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions