Hi, is my first thread 
I have a problem
Today Discord image embed: dont work
Two days ago : Work normally.
I dont change annything 
is a simple embed image:
const Discord = require(‘discord.js’);
module.exports.run = (message) => {
let channel = message.guild.channels.cache.find(canal => canal.id === ‘456234795412750336’)
const embed = new Discord.MessageEmbed()
.setTitle(“------”)
.setDescription(‘Image embed’)
.setImage(“https://i.imgur.com/qrjIPkF.png”)
.setColor(Math.floor(Math.random() * 16777214) + 1)
channel.send({ embed });
}
result:

My bot have all the permissions:
someone more with this problem? any idea? 
I think the discord.js pkg (from npm) are update, so you have to use json format to send embed ?
1 Like
okey, like put all my images in a “image.json” file and get from him?
ARCodez
4
Try this
const Discord = require(‘discord.js’);
module.exports.run = (message) => {
let channel = message.guild.channels.cache.find(canal => canal.id === ‘456234795412750336’)
const embed = new Discord.MessageEmbed()
.setTitle("------")
.setDescription(‘Image embed’)
.setImage('https://i.imgur.com/qrjIPkF.png')
.setColor(Math.floor(Math.random() * 16777214) + 1)
channel.send(embed);
}```
system
Closed
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.