Reputation: 19
module.exports = {
name: 'binfo',
description: 'Bot info',
caategory: 'info',
execute(message, args){
const Discord = require('discord.js')
const bot = new Discord.Client()
const binfo = new Discord.MessageEmbed()
.setTitle("Bot Information")
.addField("Bot Name :", bot.user.name)
.addField("Version : ", version)
.addField("Created By :", '')
.addField('Servers with this bot :', bot.guilds.size)
.addImage('')
.addField("Created At : ", bot.user.createdAt)
.addField("Commands :", "For More Commands Check Text Channel commands-guideš£")
.setTimestamp()
.setColor("#3d5eff")
.setThumbnail(bot.user.displayAvatarURL)
}
}
I know it cant read the name for some reason. Is it username or even something else? If you know let me know thanks.
Upvotes: 0
Views: 137