Update 'commands/Info/ping.js'
This commit is contained in:
parent
215ac4cd6f
commit
526c2c5a53
@ -1,14 +1,14 @@
|
|||||||
const { EmbedBuilder } = require('discord.js');
|
const { EmbedBuilder } = require("discord.js");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "ping",
|
name: "hello",
|
||||||
description: "Returns websocket latency",
|
description: "Say hi to Laura!",
|
||||||
|
|
||||||
run: async (client, interaction) => {
|
run: async (client, interaction) => {
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setColor("#FF0000")
|
.setColor("#0CE2FA")
|
||||||
.setTitle("🏓 Pong!")
|
.setTitle("🌼 Hi friend!")
|
||||||
.setDescription(`Latency : ${client.ws.ping}ms`)
|
.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()
|
.setTimestamp()
|
||||||
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
||||||
interaction.followUp({ embeds: [embed] });
|
interaction.followUp({ embeds: [embed] });
|
||||||
|
Loading…
Reference in New Issue
Block a user