diff --git a/DisCatSharp.ThirdPartyLookups/Entities/Mee6 Leaderboard/Mee6Leaderboard.cs b/DisCatSharp.ThirdPartyLookups/Entities/Mee6 Leaderboard/Mee6Leaderboard.cs index 8427b5ee8..4d94cff20 100644 --- a/DisCatSharp.ThirdPartyLookups/Entities/Mee6 Leaderboard/Mee6Leaderboard.cs +++ b/DisCatSharp.ThirdPartyLookups/Entities/Mee6 Leaderboard/Mee6Leaderboard.cs @@ -1,111 +1,111 @@ // This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace DisCatSharp.ThirdPartyLookups.Entities; /// /// A Mee6 Leaderboard. /// public class Mee6Leaderboard { /// /// Gets the guild. /// [JsonProperty("guild")] public Mee6Guild? Guild { get; internal set; } /// /// Gets the country this guild is set to. /// [JsonProperty("country")] public string? Country { get; internal set; } /// /// Whether Mee6 is an Administrator on this guild. /// [JsonProperty("admin")] public bool? IsAdmin { get; internal set; } /// /// Gets a list of users. /// [JsonProperty("players")] public Mee6User[]? Users { get; internal set; } /// /// Gets the role rewards you can achieve on this server. /// [JsonProperty("role_rewards")] public object[]? RoleRewards { get; internal set; } + /// + /// The background this guild uses for their level-up messages. + /// + [JsonProperty("banner_url")] + public string? BannerUrl { get; internal set; } + /// /// Gets how much experience you get per message on this guild. /// [JsonProperty("xp_per_message")] public int[]? ExperiencePerMessage { get; internal set; } /// /// Gets the rate at which you gain experience on this guild. /// [JsonProperty("xp_rate")] public float? ExperienceRate { get; internal set; } /// /// Gets the leaderboard page that has been fetched. /// [JsonProperty("page")] public int? Page { get; internal set; } /// /// Unknown /// [JsonProperty("is_member")] public bool? IsMember { get; internal set; } /// /// Unknown /// [JsonProperty("user_guild_settings")] public object? UserGuildSettings { get; internal set; } /// /// Unknown /// [JsonProperty("player")] public object? Player { get; internal set; } - - /// - /// Unknown - /// - [JsonProperty("banner_url")] - public string? BannerUrl { get; internal set; } }