forked from snxraven/DiscordJS-v14-Template
Fix Embed
This commit is contained in:
parent
9f24d9c2be
commit
1bb4faa4eb
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user