Updated package json file and ping command
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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()
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user