Commit 0de15af7 authored by nanahira's avatar nanahira

use lucky

parent 226d1faf
...@@ -1659,7 +1659,7 @@ class Room ...@@ -1659,7 +1659,7 @@ class Room
add_windbot_stand: (name, deckContent)-> add_windbot_stand: (name, deckContent)->
request request
url: "http://#{settings.modules.windbot.server_ip}:#{settings.modules.windbot.port}/?name=#{encodeURIComponent(name)}&deck=Test&host=#{settings.modules.windbot.my_ip}&port=#{settings.port}&version=#{settings.version}&password=#{encodeURIComponent(@name)}&chat=false&deckcode=#{encodeURIComponent(deckContent.toString('base64'))}" url: "http://#{settings.modules.windbot.server_ip}:#{settings.modules.windbot.port}/?name=#{encodeURIComponent(name)}&deck=Lucky&host=#{settings.modules.windbot.my_ip}&port=#{settings.port}&version=#{settings.version}&password=#{encodeURIComponent(@name)}&chat=false&deckcode=#{encodeURIComponent(deckContent.toString('base64'))}"
, (error, response, body)=> , (error, response, body)=>
if error if error
log.warn 'windbot add error', error, this.name log.warn 'windbot add error', error, this.name
......
...@@ -2211,7 +2211,7 @@ ...@@ -2211,7 +2211,7 @@
add_windbot_stand(name, deckContent) { add_windbot_stand(name, deckContent) {
request({ request({
url: `http://${settings.modules.windbot.server_ip}:${settings.modules.windbot.port}/?name=${encodeURIComponent(name)}&deck=Test&host=${settings.modules.windbot.my_ip}&port=${settings.port}&version=${settings.version}&password=${encodeURIComponent(this.name)}&chat=false&deckcode=${encodeURIComponent(deckContent.toString('base64'))}` url: `http://${settings.modules.windbot.server_ip}:${settings.modules.windbot.port}/?name=${encodeURIComponent(name)}&deck=Lucky&host=${settings.modules.windbot.my_ip}&port=${settings.port}&version=${settings.version}&password=${encodeURIComponent(this.name)}&chat=false&deckcode=${encodeURIComponent(deckContent.toString('base64'))}`
}, (error, response, body) => { }, (error, response, body) => {
if (error) { if (error) {
log.warn('windbot add error', error, this.name); log.warn('windbot add error', error, this.name);
......
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