From 8aa87b8e04cdd96448697c194b8e5db24c578094 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Jul 2021 01:40:37 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=8E=2007-08=2001:40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/bot.py b/bot/bot.py index ecc8f44..929bdc5 100755 --- a/bot/bot.py +++ b/bot/bot.py @@ -15,13 +15,13 @@ from asyncio import exceptions logging.basicConfig( format='%(asctime)s-%(name)s-%(levelname)s=> [%(funcName)s] %(message)s ', level=logging.INFO) logger = logging.getLogger(__name__) -_JdDir = '/jd' +_JdDir = '/root/jd' _ConfigDir = _JdDir + '/config' _ScriptsDir = _JdDir + '/scripts' _LogDir = _JdDir + '/log' _ThirdpardDir = _JdDir +'/thirdpard' # 频道id/用户id -with open('/jd/config/bot.json') as f: +with open('/root/jd/config/bot.json') as f: bot = json.load(f) chat_id = bot['user_id'] # 机器人 TOKEN