add: added timely boost bonus to gambling.yml

change: .betstats renamed to .gamblestats/.gs
add: added .betstats, .betstats <game> and .betstats <user> <game?> command which shows you your stats for gambling commands
This commit is contained in:
Kwoth
2024-11-04 10:42:05 +00:00
parent 619ddba4f8
commit c39c9061fd
20 changed files with 7565 additions and 193 deletions

View File

@@ -144,8 +144,8 @@ public sealed class GamblingConfigService : ConfigServiceBase<GamblingConfig>
ConfigPrinters.ToString,
val => val >= 0);
AddParsedProp("timely.pass",
gs => gs.Timely.RequirePassword,
AddParsedProp("timely.btn",
gs => gs.Timely.HasButton,
bool.TryParse,
ConfigPrinters.ToString);
@@ -189,11 +189,11 @@ public sealed class GamblingConfigService : ConfigServiceBase<GamblingConfig>
});
}
if (data.Version < 9)
if (data.Version < 10)
{
ModifyConfig(c =>
{
c.Version = 9;
c.Version = 10;
});
}
}