#createdTimestamp empty string
1 messages · Page 1 of 1 (latest)
const exampleEmbed = new MessageEmbed()
.setColor('#0099ff')
.setTitle('Server Info')
.setAuthor({ name: 'Some name', iconURL: 'https://i.imgur.com/AfFp7pu.png', url: 'https://discord.js.org' })
.addFields(
{ name: 'Created at:', value: "test", inline: true },
{ name: 'Inline field title', value: message.guild.createdTimestamp, inline: true },
)
.addField('Inline field title', 'Some value here', true)
.setTimestamp()
.setFooter({ text: 'Cashier Bot' });
channel.send({ embeds: [exampleEmbed] });
not the most visually pleasing
is message defined?
Okay, so I think this is the issue
value of a embed field expects a string
and you provided a number which it converts to a object