diff --git a/src/discord/commands/testCommand.js b/src/discord/commands/testCommand.js index 491baaf..2171b24 100644 --- a/src/discord/commands/testCommand.js +++ b/src/discord/commands/testCommand.js @@ -23,7 +23,6 @@ module.exports = { description: (`${message}`), timestamp: new Date().toISOString(), }; - await channel.send({ embeds: [ embed ] }) await interaction.reply({content: "Your report has been shared with the developers, do not delete this message.", ephemeral: false}) diff --git a/src/discord/commands/weightCommand.js b/src/discord/commands/weightCommand.js index c6f78f7..9a9939a 100644 --- a/src/discord/commands/weightCommand.js +++ b/src/discord/commands/weightCommand.js @@ -1,5 +1,4 @@ const config = require("../../../config.json"); -const { getPlayer } = require("../../functions/get/getPlayer"); const { handleError } = require("../../functions/handle/handleError"); const messages = config.messages.discord diff --git a/src/functions/get/getNetworth/getSkyHelper.js b/src/functions/get/getNetworth/getSkyHelper.js index 12f3f2f..d319fd2 100644 --- a/src/functions/get/getNetworth/getSkyHelper.js +++ b/src/functions/get/getNetworth/getSkyHelper.js @@ -2,7 +2,7 @@ const axios = require('axios'); const { getNetworth } = require('skyhelper-networth'); require("dotenv").config(); const apiKey = process.env.KEY; -const fs = require(`fs`) + const fetchMuseumData = async (profile, uuid) => {