Merge branch 'dev' into 'main'

Updated package json file and ping command

See merge request illegitimate/illegitimate-bot!104
This commit is contained in:
2023-11-30 11:54:23 +00:00
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()
}]