更新于 07-08 01:40

This commit is contained in:
root
2021-07-08 01:40:37 -04:00
parent 0f1ec69da8
commit 8aa87b8e04

View File

@ -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