CatalystMoon/commands/Info/ping.js

16 lines
669 B
JavaScript
Raw Normal View History

2022-07-23 09:09:42 -04:00
const { EmbedBuilder } = require("discord.js");
2022-07-22 18:09:13 -04:00
module.exports = {
2022-07-23 09:09:42 -04:00
name: "hello",
description: "Say hi to Laura!",
2022-07-22 18:09:13 -04:00
run: async (client, interaction) => {
2022-07-23 08:04:10 -04:00
const embed = new EmbedBuilder()
2022-07-23 09:09:42 -04:00
.setColor("#0CE2FA")
.setTitle("🌼 Hi friend!")
2022-07-23 18:08:12 -04:00
.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/LauraXD\nLatency : ${client.ws.ping}ms`)
2022-07-22 18:09:13 -04:00
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
interaction.followUp({ embeds: [embed] });
},
2022-07-23 09:09:42 -04:00
};