Update 'commands/Info/ping.js'
This commit is contained in:
parent
215ac4cd6f
commit
526c2c5a53
@ -1,16 +1,16 @@
|
||||
const { EmbedBuilder } = require('discord.js');
|
||||
const { EmbedBuilder } = require("discord.js");
|
||||
|
||||
module.exports = {
|
||||
name: "ping",
|
||||
description: "Returns websocket latency",
|
||||
name: "hello",
|
||||
description: "Say hi to Laura!",
|
||||
|
||||
run: async (client, interaction) => {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor("#FF0000")
|
||||
.setTitle("🏓 Pong!")
|
||||
.setDescription(`Latency : ${client.ws.ping}ms`)
|
||||
.setColor("#0CE2FA")
|
||||
.setTitle("🌼 Hi friend!")
|
||||
.setDescription(`I'm Laura Orchid, 17 year old from Ponyville. Working as florist, likes tech and photography!\nMy source code: https://git.codingvm.codes/LauraOrchid/DiscordJS-v14-Template\nLatency : ${client.ws.ping}ms`)
|
||||
.setTimestamp()
|
||||
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
||||
interaction.followUp({ embeds: [embed] });
|
||||
},
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user