const Discord = require('discord.js'); const client = new Discord.Client(); module.exports = { config: { name: "ping", aliases: new Array("p"), description: "Botun Pingini Gösterir.", usage: "prefix + ping" }, async execute(client, message, args) { const { MessageEmbed } = require('discord.js') const embed = new MessageEmbed() .setTitle("Ping Ölçülüyor") .addField("Botun Gecikmesi:", client.ws.ping + 'ms') .addField('Mesajın Gecikme Süresi', `${Date.now() - message.createdTimestamp}` + 'ms') message.channel.send(embed) } }