Javascript 如何在自定义表情符号中做出反应
我想让我的机器人做出个性化表情的反应,但我做不到Javascript 如何在自定义表情符号中做出反应,javascript,discord,discord.js,Javascript,Discord,Discord.js,我想让我的机器人做出个性化表情的反应,但我做不到 msg.react('<:info:753347236842438707>').then(r => { //custom emoji msg.react('First, you want to define the emoji: const info = client.emojis.cache.get('753347236842438707'); msg.react(“”)。然后(r=>{//自定义表情
msg.react('<:info:753347236842438707>').then(r => { //custom emoji
msg.react('First, you want to define the emoji:
const info = client.emojis.cache.get('753347236842438707');
msg.react(“”)。然后(r=>{//自定义表情符号
msg.react('首先,您要定义表情符号:
const info=client.emojis.cache.get('753347236842438707');
接下来,对消息作出反应:
const info=client.emojis.cache.get('753347236842438707');
message.channel.send('content')。然后(msg=>{
等待消息。反应(信息);
等待消息。反应('