diff --git a/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupCommands.cs b/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupCommands.cs index d02c9eba1..724983a91 100644 --- a/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupCommands.cs +++ b/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupCommands.cs @@ -42,7 +42,7 @@ public partial class Administration [Cmd] [OwnerOnly] - public async Task LeaveUnkeptServers(int shardId = 0, int delay = 1000) + public async Task LeaveUnkeptServers(int shardId, int delay = 1000) { var keptGuildCount = await _svc.GetKeptGuildCount(); diff --git a/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupService.cs b/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupService.cs index 41240784c..b6eede256 100644 --- a/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupService.cs +++ b/src/NadekoBot/Modules/Administration/DangerousCommands/CleanupService.cs @@ -45,7 +45,7 @@ public sealed class CleanupService : ICleanupService, IReadyExecutor, INService private bool keepTriggered = false; - private async ValueTask InternalTriggerKeep((int shardId, int delay) data) + private async ValueTask InternalTriggerKeep((int, int) data) { var (shardId, delay) = data; diff --git a/src/NadekoBot/Services/Impl/PubSub/JsonSeria.cs b/src/NadekoBot/Services/Impl/PubSub/JsonSeria.cs index 416c1b9c4..cc668407d 100644 --- a/src/NadekoBot/Services/Impl/PubSub/JsonSeria.cs +++ b/src/NadekoBot/Services/Impl/PubSub/JsonSeria.cs @@ -7,6 +7,7 @@ public class JsonSeria : ISeria { private readonly JsonSerializerOptions _serializerOptions = new() { + IncludeFields = true, Converters = { new Rgba32Converter(), diff --git a/src/NadekoBot/data/gambling.yml b/src/NadekoBot/data/gambling.yml index 7e54edf39..ba8e6f6f6 100644 --- a/src/NadekoBot/data/gambling.yml +++ b/src/NadekoBot/data/gambling.yml @@ -1,5 +1,5 @@ # DO NOT CHANGE -version: 7 +version: 8 # Currency settings currency: # What is the emoji/character which represents the currency @@ -128,7 +128,10 @@ waifu: # Percentage (0 - 100) of the waifu value to reduce. # Set 0 to disable # For example if a waifu has a price of 500$, setting this value to 10 would reduce the waifu value by 10% (50$) - percent: 0 + unclaimedDecayPercent: 0 + # Claimed waifus will decay by this percentage (0 - 100). + # Default is 0 (disabled) + claimedDecayPercent: 0 # How often to decay waifu values, in hours hourInterval: 24 # Minimum waifu price required for the decay to be applied.