diff --git a/package.json b/package.json index 8001be7..bdcc671 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,8 @@ "scripts": { "dev": "nodemon", "dev:build": "node scripts/dev-deploy.js", + "lint": "eslint_d src", + "lint:fix": "eslint_d --fix src", "prod:build:global": "node scripts/deploy-commands.js --prod", "prod:build:user": "node scripts/deploy-commands.js --dev" }, diff --git a/src/commands/ping.js b/src/commands/ping.js index faca60c..49f3efb 100644 --- a/src/commands/ping.js +++ b/src/commands/ping.js @@ -1,5 +1,5 @@ const { SlashCommandBuilder } = require("discord.js") -const { color, devMessage } = require("../../config/options.json") +const { color } = require("../../config/options.json") module.exports = { name: "ping", @@ -27,8 +27,8 @@ module.exports = { description: "Ping of the bot is " + client.ws.ping + "ms.", color: embedColor, footer: { - text: interaction.guild.name + " | " + devMessage, - icon_url: interaction.user.displayAvatarURL({ dynamic: true }) + text: interaction.guild.name, + icon_url: interaction.guild.iconURL({ dynamic: true }) }, timestamp: new Date() }]