public MainCON(Configration cof) { init(cof.DBaddress, cof.database, cof.user, cof.password, cof.botname, cof.channelID, cof.token); if (cof.isMigration == true) { FirstMigration(); } }
public MainCON(string filename = "config/config.xml", string filetype = "XML") { Configration cof = new Configration(filename, filetype); init(cof.DBaddress, cof.database, cof.user, cof.password, cof.botname, cof.channelID, cof.token); if (cof.isMigration == true) { FirstMigration(); } }