問題描述
我制作了一個不和諧的機器人,現在我想開始添加自定義表情符號.我看過很多關于如何使用 client.cache 或其他東西來輸入表情符號的教程,但是我如何上傳它們并獲取它們的 ID 以在我的不和諧機器人中使用.我將不勝感激一個快速簡單的答案!
I have made a discord bot and I would now like to get started on adding custom emojis. I have seen many tutorials on how to use client.cache or something to type an emoji, but how do I upload them and get their ID to use in my discord bot. I would appreciate a fast and easy answer!
<3
推薦答案
你需要做的就是讓你的機器人在一個服務器中使用你想要在你的機器人中使用的任何表情.然后,鍵入前面帶有反斜杠的表情并發送,返回類似 <:honk:670458084136845352>
的內容.這就是您在機器人消息中輸入的內容.
What you have to do is have your bot in a server with whichever emotes you want to use in your bot. Then, you type the emote with a backslash in front and send it, returning something like <:honk:670458084136845352>
. That's what you put in the message for your bot.
如果您有任何問題,或者這不夠清楚,請告訴我.
If you have any issues, or this isn't clear enough, please let me know.
這篇關于如何將自定義表情符號上傳到我的不和諧機器人的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!