유병우

Update lospi command

const { SlashCommandBuilder } = require('@discordjs/builders');
const { MessageEmbed } = require('discord.js');
const axios = require("axios");
const cheerio = require("cheerio");
\ No newline at end of file
const cheerio = require("cheerio");
module.exports = {
data: new SlashCommandBuilder()
.setName('시세')
.setDescription('현재 100크리스탈 당 골드 시세를 조회합니다.'),
async execute(interaction) {
async function getHTML() {
try {
return await axios.get("https://www.mgx.kr/lostark/goldexchange/");
} catch (error) {
console.error(error);
}
};
},
};
\ No newline at end of file
......