mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Did a massive overhaul of settings where it now uses an attribute and reflection to populate the DB. Gets rid of the enormous array and makes it a one-step process to create settings.
This commit is contained in:
@@ -38,8 +38,6 @@ namespace KfChatDotNetBot
|
|||||||
await BuiltIn.SyncSettingsWithDb();
|
await BuiltIn.SyncSettingsWithDb();
|
||||||
logger.Info("Migrating settings from config.json (if needed)");
|
logger.Info("Migrating settings from config.json (if needed)");
|
||||||
await BuiltIn.MigrateJsonSettingsToDb();
|
await BuiltIn.MigrateJsonSettingsToDb();
|
||||||
logger.Info("Migrating streams from settings API to their own table");
|
|
||||||
await BuiltIn.MigrateStreamChannelsToDatabase();
|
|
||||||
logger.Info("Handing over to bot now");
|
logger.Info("Handing over to bot now");
|
||||||
Console.OutputEncoding = Encoding.UTF8;
|
Console.OutputEncoding = Encoding.UTF8;
|
||||||
new ChatBot();
|
new ChatBot();
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user