Answer the question
In order to leave comments, you need to log in
When I write !p(What would the profile show) It shows me undefined What's wrong?
const Discord = module.require("discord.js");
const fs = require("fs");
let profile = require("../profile.json");
const bot = new Discord.Client();
module.exports.run = async (bot,message,args) => {
let embed = new Discord.RichEmbed()
.setDescription("✅Профиль",message.author)
.setColor('#FF8C00')
.addField("Монет:",`**${message.author.coins}**`)
bot.send(embed);
};
module.exports.help = {
name: "p"
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question