mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2024-10-02 12:09:07 +00:00
change: updated gambling.yml to the newest version
dev: fixed pubsub not supporting tuples
This commit is contained in:
parent
c033c0e3c8
commit
bc22987330
4 changed files with 8 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ public class JsonSeria : ISeria
|
|||
{
|
||||
private readonly JsonSerializerOptions _serializerOptions = new()
|
||||
{
|
||||
IncludeFields = true,
|
||||
Converters =
|
||||
{
|
||||
new Rgba32Converter(),
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue