問題描述
我嵌入了以下不和諧:
message.reply({
content: '',
embed: {
color: 11416728,
author: {
name: 'xx know-it-all',
icon_url: 'https://xx.png'
},
description: '',
footer: {
icon_url: client.user.avatarURL,
text: '? xx Network'
},
fields: [
{
name: '1st Line',
value: '2nd Line',
},
{
name: 'MAKE THIS JUST A SPACER',
value: 'MAKE THIS JUST A SPACER',
},
{
name: '5th Line',
value: '6th Line',
}
]
}
})
我正在嘗試弄清楚如何創(chuàng)建各種墊片.我嘗試過使用 html 空間、空白空間和 alt 代碼空間.它們似乎都不起作用.關(guān)于如何實現(xiàn)這一點的任何想法?
I am trying to figure out how to create a spacer of sorts. I have tried using a html space, blank space, and alt code space. None of them seem to work. Any ideas on how to accomplish this?
問題是不和諧將字段返回為空,所以當我使用不可見的 html 空間或放置
The issue is discord is returning the field as null, so it's not taking it when I use the invisible html space or putting
推薦答案
我明白了!
我需要做的就是使用隱形空間的 C/C++/Java 編碼版本
All I needed to do was use the C/C++/Java encoding version of the invisible space
u200B
參考:https://www.fileformat.info/info/unicode/char/200B/index.htm
這可以用于其他希望使嵌入看起來更清晰的人,因為不和諧會使它復雜化
This can come into use for other people looking to make embeds look more clear as discord complicates it
這篇關(guān)于嵌入的不和諧中的行分隔符/中斷的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!