Fix Embed

This commit is contained in:
Raven Scott 2022-07-23 07:04:10 -05:00
parent 9f24d9c2be
commit 1bb4faa4eb

View File

@ -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`)