diff --git a/commands/Info/ping.js b/commands/Info/ping.js index b6dc834..18ab6c7 100644 --- a/commands/Info/ping.js +++ b/commands/Info/ping.js @@ -1,11 +1,11 @@ -const { Embed } = require("discord.js"); +const { EmbedBuilder } = require('discord.js'); module.exports = { name: "ping", description: "Returns websocket latency", run: async (client, interaction) => { - const embed = new Embed() + const embed = new EmbedBuilder() .setColor("#FF0000") .setTitle("🏓 Pong!") .setDescription(`Latency : ${client.ws.ping}ms`)