From 81dd7dc96bde57db4e9a162676cb8b9c44c4cd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sun, 3 Apr 2022 21:53:42 +0900 Subject: [PATCH] Load config from config/all --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index 9e4562d..7c77fa3 100644 --- a/api.js +++ b/api.js @@ -6,7 +6,7 @@ var events = require( "events" ); var zlib = require( "zlib" ); var http = require( "http" ); -var conf = cl.load( "config.botanjs" ); +var conf = cl.load( "config.all" ).botanjs; var Session = cl.load( "botansx.modular.session" ); var hash = cl.load( "botansx.utils.hash" );