From 1eda7e66fe14eee1c3afad967090e630921cd7f1 Mon Sep 17 00:00:00 2001 From: Xiled Emerald Date: Sun, 24 Oct 2021 22:44:11 +0100 Subject: [PATCH] Delete ping.js --- commands/ping.js | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 commands/ping.js diff --git a/commands/ping.js b/commands/ping.js deleted file mode 100644 index 799b1f4..0000000 --- a/commands/ping.js +++ /dev/null @@ -1,30 +0,0 @@ -// SupportBot | Emerald Services -// Ping Command - -const fs = require("fs"); - -const Discord = require("discord.js"); -const yaml = require("js-yaml"); -const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8")); -const cmdconfig = yaml.load(fs.readFileSync("./Data/commands.yml", "utf8")); - -const Command = require("../Structures/Command.js"); - -module.exports = new Command({ - name: cmdconfig.PingCommand, - description: cmdconfig.PingCommandDesc, - slashCommandOptions: [], - permission: "SEND_MESSAGES", - - async run(interaction) { - const PingEmbed = new Discord.MessageEmbed() - .setDescription( - `:ping_pong: **Ping:** \`${interaction.client.ws.ping} ms\`` - ) - .setColor(supportbot.EmbedColour); - - interaction.reply({ - embeds: [PingEmbed], - }); - }, -});