Commit 471bf9b0 authored by mercury233's avatar mercury233

update loading windbots

parent aff9472e
{
"windbots": [
{
"name": "琪露诺",
"deck": "Burn",
"dialog": "zh-CN"
},
{
"name": "琪露诺",
"deck": "Frog",
"dialog": "zh-CN"
},
{
"name": "琪露诺",
"deck": "Horus",
"dialog": "zh-CN"
},
{
"name": "琪露诺",
"deck": "OldSchool",
"dialog": "zh-CN"
},
{
"name": "谜之剑士LV4",
"deck": "Dragunity",
"dialog": "zh-CN"
},
{
"name": "谜之剑士LV4",
"deck": "Rank V",
"dialog": "zh-CN"
},
{
"name": "谜之剑士LV4",
"deck": "Zexal Weapons",
"dialog": "zh-CN"
}
]
}
\ No newline at end of file
......@@ -78,7 +78,7 @@ if settings.modules.enable_cloud_replay
redisdb = redis.createClient host: "127.0.0.1", port: settings.modules.redis_port
if settings.modules.enable_windbot
settings.modules.windbots = require('./config.bot.json').windbots
settings.modules.windbots = require('./windbot/bots.json').windbots
#组件
ygopro = require './ygopro.js'
......
......@@ -121,7 +121,7 @@
}
if (settings.modules.enable_windbot) {
settings.modules.windbots = require('./config.bot.json').windbots;
settings.modules.windbots = require('./windbot/bots.json').windbots;
}
ygopro = require('./ygopro.js');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment