New setting to control the initial state of the almanac shill

This commit is contained in:
barelyprofessional
2025-03-23 19:49:45 +08:00
parent 0c37596a66
commit e59bb880b5
2 changed files with 17 additions and 0 deletions

View File

@@ -910,6 +910,16 @@ public static class BuiltIn
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1),
ValueType = SettingValueType.Text
},
new BuiltInSettingsModel
{
Key = Keys.BotAlmanacInitialState,
Regex = "(true|false)",
Description = "Initial state of the Almanac reminder",
Default = "false",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1),
ValueType = SettingValueType.Boolean
}
];
@@ -986,5 +996,6 @@ public static class BuiltIn
public static string ClashggBmjIds = "Clashgg.BmjIds";
public static string BotAlmanacText = "Bot.Almanac.Text";
public static string BotAlmanacInterval = "Bot.Almanac.Interval";
public static string BotAlmanacInitialState = "Bot.Almanac.InitialState";
}
}