Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions lostarkBotEdit.js → lostarkBotEdit2.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ function response(room, msg, sender, isGroupChat, replier, imageDB, packageName)
charImg = cloudinary+"/c_thumb,w_800,h_400,c_fill/c_thumb,w_400,h_400,l_"+ charImg +"/fl_layer_apply,g_north_east,x_0,y_0/l_text:Arial_45_bold:"+ charName[1] +",g_north_west,x_100,y_80,co_rgb:EAEAEA/sasasa_csje7s";
replier.reply(charImg);
//charImg = org.jsoup.Jsoup.connect("http://leejinouk123.dothome.co.kr/index.html/?charName="+charName[1]+"&imageLink="+charImg).get();
replier.reply("http://leejinouk123.dothome.co.kr/index.html/?charName="+charName[1]+"&imageLink="+json.public_id);
const post = org.jsoup.Jsoup.connect("http://leejinouk123.dothome.co.kr/index.html");
const postInfo =
post.data('imageLink',charImg)
.data('charName',charName[1])
.ignoreContentType(true)
.ignoreHttpErrors(true)
.post();
replier.reply(postInfo);
//const sendHtml = org.jsoup.Jsoup.connect("");

//json = JSON.parse(dataWrap.text()); //html 형식의 파일을 json으로 파싱
Expand All @@ -61,4 +68,4 @@ function onResume(activity) {}

function onPause(activity) {}

function onStop(activity) {}
function onStop(activity) {}