mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
change: updated gambling.yml to the newest version
dev: fixed pubsub not supporting tuples
This commit is contained in:
@@ -42,7 +42,7 @@ public partial class Administration
|
|||||||
|
|
||||||
[Cmd]
|
[Cmd]
|
||||||
[OwnerOnly]
|
[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();
|
var keptGuildCount = await _svc.GetKeptGuildCount();
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ public sealed class CleanupService : ICleanupService, IReadyExecutor, INService
|
|||||||
|
|
||||||
private bool keepTriggered = false;
|
private bool keepTriggered = false;
|
||||||
|
|
||||||
private async ValueTask InternalTriggerKeep((int shardId, int delay) data)
|
private async ValueTask InternalTriggerKeep((int, int) data)
|
||||||
{
|
{
|
||||||
var (shardId, delay) = data;
|
var (shardId, delay) = data;
|
||||||
|
|
||||||
|
@@ -7,6 +7,7 @@ public class JsonSeria : ISeria
|
|||||||
{
|
{
|
||||||
private readonly JsonSerializerOptions _serializerOptions = new()
|
private readonly JsonSerializerOptions _serializerOptions = new()
|
||||||
{
|
{
|
||||||
|
IncludeFields = true,
|
||||||
Converters =
|
Converters =
|
||||||
{
|
{
|
||||||
new Rgba32Converter(),
|
new Rgba32Converter(),
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# DO NOT CHANGE
|
# DO NOT CHANGE
|
||||||
version: 7
|
version: 8
|
||||||
# Currency settings
|
# Currency settings
|
||||||
currency:
|
currency:
|
||||||
# What is the emoji/character which represents the currency
|
# What is the emoji/character which represents the currency
|
||||||
@@ -128,7 +128,10 @@ waifu:
|
|||||||
# Percentage (0 - 100) of the waifu value to reduce.
|
# Percentage (0 - 100) of the waifu value to reduce.
|
||||||
# Set 0 to disable
|
# 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$)
|
# 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
|
# How often to decay waifu values, in hours
|
||||||
hourInterval: 24
|
hourInterval: 24
|
||||||
# Minimum waifu price required for the decay to be applied.
|
# Minimum waifu price required for the decay to be applied.
|
||||||
|
Reference in New Issue
Block a user