유병우

Update info command

...@@ -30,6 +30,26 @@ module.exports = { ...@@ -30,6 +30,26 @@ module.exports = {
30 interaction.reply({content: "`"+nickName+"`"+"이라는 캐릭터는 없습니다", allowedMentions: {repliedUser: false}}); 30 interaction.reply({content: "`"+nickName+"`"+"이라는 캐릭터는 없습니다", allowedMentions: {repliedUser: false}});
31 return; 31 return;
32 } 32 }
33 + const server = $("span.profile-character-info__server").text().substring(1);
34 + const jickup = $("img.profile-character-info__img").attr("alt");
35 + const expeditionLevel = $("div.level-info__expedition").text().split("Lv.")[1];
36 + const combatLevel = $("div.level-info__item").text().split("Lv.")[1];
37 + const itemLevel = $("div.level-info2__expedition").text().split("Lv.")[1];
38 + const title = $("div.game-info__title").find("span:nth-child(2)").text();
39 + const guild = $("div.game-info__guild").find("span:nth-child(2)").text();
40 + const pvpLevel = $("div.level-info__pvp").find("span:nth-child(2)").text();
41 + const wisdomLevel = $("div.game-info__wisdom").find("span:nth-child(2)").text();
42 + const wisdomName = $("div.game-info__wisdom").find("span:nth-child(3)").text();
43 + const attack = $("div.profile-ability-basic").find("ul li:nth-child(1) span:nth-child(2)").text();
44 + const hp = $("div.profile-ability-basic").find("ul li:nth-child(2) span:nth-child(2)").text();
45 + const crit = $("div.profile-ability-battle").find("ul li:nth-child(1) span:nth-child(2)").text();
46 + const specialization = $("div.profile-ability-battle").find("ul li:nth-child(2) span:nth-child(2)").text();
47 + const domination = $("div.profile-ability-battle").find("ul li:nth-child(3) span:nth-child(2)").text();
48 + const swiftness = $("div.profile-ability-battle").find("ul li:nth-child(4) span:nth-child(2)").text();
49 + const endurance = $("div.profile-ability-battle").find("ul li:nth-child(5) span:nth-child(2)").text();
50 + const expertise = $("div.profile-ability-battle").find("ul li:nth-child(6) span:nth-child(2)").text();
51 + const abilityList = [];
52 + let abilityString = "";
33 }); 53 });
34 } 54 }
35 }; 55 };
...\ No newline at end of file ...\ No newline at end of file
......