dev: further cleanup of osu commands

This commit is contained in:
Kwoth
2024-08-12 22:51:19 +00:00
parent 88c42b74c7
commit fa9263ed32
4 changed files with 51 additions and 56 deletions

View File

@@ -3,7 +3,7 @@ using Newtonsoft.Json;
namespace NadekoBot.Modules.Searches.Common;
public class UserData
public class GatariUserData
{
[JsonProperty("abbr")]
public object Abbr { get; set; }
@@ -48,5 +48,5 @@ public class GatariUserResponse
public int Code { get; set; }
[JsonProperty("users")]
public List<UserData> Users { get; set; }
public List<GatariUserData> Users { get; set; }
}

View File

@@ -3,7 +3,7 @@ using Newtonsoft.Json;
namespace NadekoBot.Modules.Searches.Common;
public class UserStats
public class GatariUserStats
{
[JsonProperty("a_count")]
public int ACount { get; set; }
@@ -72,5 +72,5 @@ public class GatariUserStatsResponse
public int Code { get; set; }
[JsonProperty("stats")]
public UserStats Stats { get; set; }
public GatariUserStats Stats { get; set; }
}