久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Discord 機器人如何在嵌入或一般情況下在 Discord

How can a Discord bot create a hyperlink in a Discord message in an embed or in general?(Discord 機器人如何在嵌入或一般情況下在 Discord 消息中創建超鏈接?)
本文介紹了Discord 機器人如何在嵌入或一般情況下在 Discord 消息中創建超鏈接?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

今天我對超鏈接以及如何使用它們進行了大量研究.但是我發現的所有東西都不起作用,因為它們可能已經過時了……

Today I did a lot of research on hyperlinks and how to use them. But everything I found didn't work as they were probably outdated…

我的 Discord.js 機器人如何發送帶有超鏈接的消息?我知道我可以使用 .setTitle("Titel").setURL("https://...") 在嵌入中創建鏈接標題,但是我怎樣才能在嵌入的其他地方像在字段中一樣使用這些超鏈接?

How can my Discord.js bot send a message with a hyperlink? I know I can use .setTitle("Titel") and .setURL("https://...") to make a link in the embed title, but how can I use these hyperlinks elsewhere in the embed like in a field?

另外,普通用戶可以在公會頻道創建超鏈接嗎?

Also, it is possible to create a hyperlink just in a guild channel as a normal user?

有人可以幫助我提供超鏈接,或者提供有用的但不過時的文檔嗎?

Can someone help me in general with hyperlinks, or provide useful documentation which is not outdated?

推薦答案

Jakye 是對的.只有機器人才能做到這一點(但不是在字段標題中,請注意).只需執行 [link text here](url here).

Jakye is right. Only bots can achieve this (but not in field titles, beware). Just do [link text here](url here).

"Track cases globally, or in a country, by supplying 2-letter [country codes](https://countrycode.org/)."

這個嵌入描述導致:

這在嵌入.單擊它會將您定向到 countrycode.org.使用 .addField():

this in the embed. Clicking on it directs you to countrycode.org. Using .addField():

yourEmbed.addField("Title here, no hyperlinks allowed", "Main text here, so you can put a hyperlink here [like so.](https://example.com)");

如果你想讓一個機器人的消息只是一個超鏈接,你需要做一個嵌入,并且只設置描述,超鏈接如上圖.(當然也可以設置嵌入顏色)

If you want a bot's message to just be a hyperlink, you need to make an embed, and only set the description, hyperlinking as shown above. (you can set the embed color if you want too of course)

這篇關于Discord 機器人如何在嵌入或一般情況下在 Discord 消息中創建超鏈接?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

discord.js v12: How do I await for messages in a DM channel?(discord.js v12:我如何等待 DM 頻道中的消息?)
how to make my bot mention the person who gave that bot command(如何讓我的機器人提及發出該機器人命令的人)
How to fix Must use import to load ES Module discord.js(如何修復必須使用導入來加載 ES 模塊 discord.js)
How to list all members from a specific server?(如何列出來自特定服務器的所有成員?)
Discord bot: Fix ‘FFMPEG not found’(Discord bot:修復“找不到 FFMPEG)
Welcome message when joining discord Server using discord.js(使用 discord.js 加入 discord 服務器時的歡迎消息)
主站蜘蛛池模板: 欧美在线一区二区三区 | 免费国产视频在线观看 | 国产精品免费一区二区三区四区 | 国户精品久久久久久久久久久不卡 | 无码日韩精品一区二区免费 | 精品av天堂毛片久久久借种 | 在线免费中文字幕 | 国产精品欧美一区二区三区不卡 | 亚洲高清在线观看 | 日日操网站 | 中文字幕视频在线看 | 欧美亚洲综合久久 | 免费成人高清在线视频 | 亚洲欧美综合精品另类天天更新 | 视频在线h | 亚洲精选久久 | 成人在线视频网 | 成人午夜精品 | 精品一区二区三区四区 | 逼逼网 | 亚洲欧美日韩网站 | 一区二区三区中文 | 日韩成人在线观看 | av在线播放一区二区 | 国产精品一区二区av | 久久神马 | 日批免费观看 | 色吧久久| 毛片在线看片 | 久久人人网 | 精品一区二区久久久久久久网站 | 久久综合成人精品亚洲另类欧美 | 日韩精品久久一区 | 亚洲电影第三页 | 亚洲精品久久久9婷婷中文字幕 | 国产免费一区二区三区免费视频 | 黑人巨大精品欧美一区二区免费 | 男女羞羞在线观看 | 天天综合久久网 | 亚洲精品一区二区三区蜜桃久 | a级毛片免费高清视频 |