Line separator/break in discord embded(嵌入的不和谐中的行分隔符/中断)
问题描述
我嵌入了以下不和谐:
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',
}
]
}
})
我正在尝试弄清楚如何创建各种垫片.我尝试过使用 html 空间、空白空间和 alt 代码空间.它们似乎都不起作用.关于如何实现这一点的任何想法?
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
这篇关于嵌入的不和谐中的行分隔符/中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:嵌入的不和谐中的行分隔符/中断
基础教程推荐
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
