Image is not displayed in embed. What to do?

  • 0
    robot.on('message', message => {
      if (message.content.toLowerCase() === 'список команд') {
    const exampleEmbed = new Discord.MessageEmbed()
      .setColor('#DC143C')
      .setTitle('**Команды**')
      .setDescription('-------\n !ping\n-------\n #список\n-------')
      .setThumbnail('https://imgur.com/a/CxccrxD')
      .addFields(
        { name: 'Regular field title', value: 'Some value here' },
        { name: '\u200B', value: '\u200B' },
        { name: 'Inline field title', value: 'Some value here', inline: true },
        { name: 'Inline field title', value: 'Some value here', inline: true },
      )
      .addField('Inline field title', 'Some value here', true)
      .setImage('https://imgur.com/a/CxccrxD')
      .setTimestamp()
      .setFooter('Some footer text here', 'https://imgur.com/a/CxccrxD');
      message.channel.send(exampleEmbed);
    }
    });


    The image is simply not displayed. I don't understand what the problem is.
    JavaScript Anonymous, Jun 20, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!