2021年3月4日星期四

How to make a Discord embed with only 2 columns

I am trying to make an embed with only 2 columns. Whenever I delete the inline value it drops test3 field like I want. Then I keep inline: true on test4 field and it drops to another row. I tried making both test3 and test4 inline values false but the problem still exists. How can I correct this?

My embed looks like this

enter image description here

My Code:

command(client, 'test' , (message) => {          const embed = new Discord.MessageEmbed()                  .setTitle('Test')           .setColor('#C69B6D')           .addFields(               {                name: 'test1' ,                value: "```TESTING```",                inline: true,              },              {                 name: 'test2' ,                 value: "```TESTING```",                 inline: true,               },               {                 name: 'test3' ,                 value: "```TESTING```",                                },               {                 name: 'test4' ,                 value: "```TESTING```",                 inline: true,               },             )                    message.channel.send(embed).then(msg => {})        })  
https://stackoverflow.com/questions/66485287/how-to-make-a-discord-embed-with-only-2-columns March 05, 2021 at 09:05AM

没有评论:

发表评论