Exemple #1
0
 public StartUp(BotSelector botConfigurer, NiDbContext dbContext)
 {
     // init db
     dbContext.Database.Migrate();
     Bot = botConfigurer.SelectBot();
 }
Exemple #2
0
        //private Dictionary<int, List<NiBind>> _binds = new Dictionary<int, List<NiBind>>();

        public NiBot(NiDbContext dbContext)
        {
            _dbContext = dbContext;
            _commands  = new[] {