Commit eed13f3e authored by mercury233's avatar mercury233

fix log

parent fd0ca6d7
...@@ -531,8 +531,8 @@ class Room ...@@ -531,8 +531,8 @@ class Room
if error if error
log.warn 'windbot add error', error, this.name, response log.warn 'windbot add error', error, this.name, response
ygopro.stoc_send_chat_to_room(this, "添加AI失败,可尝试输入 /ai 重新添加", ygopro.constants.COLORS.RED) ygopro.stoc_send_chat_to_room(this, "添加AI失败,可尝试输入 /ai 重新添加", ygopro.constants.COLORS.RED)
else #else
log.info "windbot added" #log.info "windbot added"
return return
return return
......
...@@ -704,8 +704,6 @@ ...@@ -704,8 +704,6 @@
if (error) { if (error) {
log.warn('windbot add error', error, _this.name, response); log.warn('windbot add error', error, _this.name, response);
ygopro.stoc_send_chat_to_room(_this, "添加AI失败,可尝试输入 /ai 重新添加", ygopro.constants.COLORS.RED); ygopro.stoc_send_chat_to_room(_this, "添加AI失败,可尝试输入 /ai 重新添加", ygopro.constants.COLORS.RED);
} else {
log.info("windbot added");
} }
}; };
})(this)); })(this));
......
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