Updated package json file and ping command

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-11-30 12:54:15 +01:00
parent c298eb5f45
commit 7917538347
2 changed files with 5 additions and 3 deletions

View File

@@ -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"
},

View File

@@ -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()
}]