0
是否可以使用本地文件作爲帶DiscordJs的嵌入式消息的縮略圖?如何在DiscordJS嵌入消息中使用本地文件作爲縮略圖?
"thumbnail": {
"url": "../img/025.png"
},
這似乎並不奏效。
(node:34721) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1):
DiscordAPIError: Invalid Form Body
embed.thumbnail.url: Not a well formed URL.
然而,正常的URL可以正常工作。
發送文件的正確的URL。 'https:// example.com/img/025.png' –
這不是我的選擇。有些圖像是在同一時間生成的,並且不存儲在任何服務器上。但我已經得到了答案:)(下圖)。 – Hedva