我有Discord.js自定义的表情符号错误--看起来很简单,但是如何修复呢?我想要定制的表情符号嵌入,它的工作。但是当我对定制的表情符号做出反应时,机器人不会给我任何东西。
我只从卡片上的表情符号得到答案.
Error: (node:20548) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send messages to this user
at RequestHandler.execute (d:\Users\Pc\Desktop\Musu botai\Donate\node_modules\discord.
我正致力于在editText中检测表情符号。当我在EditText中输入一个表情符号时,当我执行editText.getText().toString()时,它会返回没有表情符号的字符串。当我执行editText.length()时,长度也包括表情符号的长度。
我甚至尝试向textWatcher添加一个EditText来读取输入的字符。
TextWatcher watch = new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence s, int star