如何将自定义表情符号上传到我的Discord机器人 [英] How do I upload a custom emoji to my discord bot

查看:139
本文介绍了如何将自定义表情符号上传到我的Discord机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个不和谐的机器人,现在我想开始添加自定义表情符号.我看过很多关于如何使用client.cache或键入表情符号的教程,但是我如何上传它们并获取它们的ID以在不和谐的bot中使用.我希望得到一个快速简便的答案!

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.

这篇关于如何将自定义表情符号上传到我的Discord机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆