v14 Botun istatistiklerine bakabileceğiniz bir komuttur. v14e özel hazırlanmıştır başka sürümde çalışmaz.
const { EmbedBuilder, Colors, version, } = require("discord.js"); const moment = require("moment"); require("moment-duration-format"); exports.run = async (client, message, args) => { const Uptime = moment .duration(client.uptime) .format(" D [gün], H [saat], m [dakika], s [saniye]"); const embed = new EmbedBuilder() .setAuthor({ name: "Bot İstatistik", iconURL: client.user.avatarURL(), }) .setDescription( `👑 Botun Sahibi ve Geliştiricisi: <@ID'niz> 📊 Toplam Kullanıcı: **${client.users.cache.size}** 📊 Toplam Sunucu: **${client.guilds.cache.size}** 📊 Toplam Kanal: **${client.channels.cache.size}** 📊 Hafıza Kullanımı: **${( process.memoryUsage().heapUsed / 1024 / 512 ).toFixed(2)}Mb** 📊 Uptime: **${Uptime}** 📊 NodeJS Sürümü: **${process.version}** 📊 DiscordJS Sürümü: **${version}**` ) .setFooter({ text: `Bot İstatistik`, iconURL: message.member.displayAvatarURL({ dynamic: true }), }) .setColor(Colors.Blurple); message.reply({ embeds: [embed] }); }; exports.help = { name: "istatistik" }; exports.conf = { aliases: ["i"] };