mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Added enabled property to .config patron just so it's not empty
This commit is contained in:
		@@ -14,5 +14,9 @@ public class PatronageConfig : ConfigServiceBase<PatronConfigData>
 | 
			
		||||
 | 
			
		||||
    public PatronageConfig(IConfigSeria serializer, IPubSub pubSub) : base(FILE_PATH, serializer, pubSub, _changeKey)
 | 
			
		||||
    {
 | 
			
		||||
        AddParsedProp("enabled",
 | 
			
		||||
            x => x.IsEnabled,
 | 
			
		||||
            bool.TryParse,
 | 
			
		||||
            ConfigPrinters.ToString);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user