add: timely now has a 3 letter password by default. Configurable via .conf gamb

This commit is contained in:
Kwoth
2024-10-31 11:48:09 +00:00
parent 0f6255947e
commit 474a1db41d
9 changed files with 181 additions and 99 deletions

View File

@@ -11,7 +11,7 @@ namespace NadekoBot.Modules.Gambling.Common;
public sealed partial class GamblingConfig : ICloneable<GamblingConfig>
{
[Comment("""DO NOT CHANGE""")]
public int Version { get; set; } = 8;
public int Version { get; set; } = 9;
[Comment("""Currency settings""")]
public CurrencyConfig Currency { get; set; }
@@ -111,6 +111,11 @@ public partial class TimelyConfig
setting to 0 or less will disable this feature
""")]
public int Cooldown { get; set; } = 24;
[Comment("""
Whether the users are required to type a password when they do timely.
""")]
public bool RequirePassword { get; set; } = true;
}
[Cloneable]