From 9aa976b234485a1bdf4264576c9e946e38d9bf3d Mon Sep 17 00:00:00 2001 From: Mih4n <50325226+Mih4n@users.noreply.github.com> Date: Wed, 18 Oct 2023 20:12:24 +0300 Subject: [PATCH] da --- src/spworlds.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spworlds.cs b/src/spworlds.cs index e988b70..3a4a485 100644 --- a/src/spworlds.cs +++ b/src/spworlds.cs @@ -81,7 +81,7 @@ public class SPWorlds public async Task GetUser(string discordId) { string userName = (string)JsonObject.Parse(await SendRequest($"users/{discordId}"))["username"]; - User user = new(userName); + User user = await User.CreateUser(userName); return (User)user; }