Showing
1 changed file
with
24 additions
and
0 deletions
| ... | @@ -8,5 +8,29 @@ module.exports = { | ... | @@ -8,5 +8,29 @@ module.exports = { |
| 8 | .setName('마리샵') | 8 | .setName('마리샵') |
| 9 | .setDescription('현재 마리샵과 이전, 전전의 마리샵의 정보를 조회합니다.'), | 9 | .setDescription('현재 마리샵과 이전, 전전의 마리샵의 정보를 조회합니다.'), |
| 10 | async execute(interaction) { | 10 | async execute(interaction) { |
| 11 | + const itemInfo = []; | ||
| 12 | + var isMaintainence = false; | ||
| 13 | + await axios.get("https://lostark.game.onstove.com").then(html=>{ | ||
| 14 | + const $ = cheerio.load(html.data); | ||
| 15 | + }) | ||
| 16 | + const buttonsRow = new MessageActionRow() | ||
| 17 | + .addComponents( | ||
| 18 | + new MessageButton() | ||
| 19 | + .setCustomId("12time_ago") | ||
| 20 | + .setLabel("전전 마리샵 정보 조회") | ||
| 21 | + .setStyle("SECONDARY") | ||
| 22 | + ) | ||
| 23 | + .addComponents( | ||
| 24 | + new MessageButton() | ||
| 25 | + .setCustomId("6time_ago") | ||
| 26 | + .setLabel("이전 마리샵 정보 조회") | ||
| 27 | + .setStyle("SECONDARY") | ||
| 28 | + ) | ||
| 29 | + .addComponents( | ||
| 30 | + new MessageButton() | ||
| 31 | + .setCustomId("0time_ago") | ||
| 32 | + .setLabel("현재 마리샵 정보 조회") | ||
| 33 | + .setStyle("SECONDARY") | ||
| 34 | + ); | ||
| 11 | }, | 35 | }, |
| 12 | }; | 36 | }; |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment