繁体   English   中英

我怎样才能让机器人回复一条由我不和谐的回复的消息

[英]How can i make the bot reply to a message which is a reply by me discord

就像我发送一条回复机器人消息的消息一样,我希望机器人对其做出反应我使用的语言 => Javascript!

所以你会这样做

if (!message.author.bot && message.type === 'REPLY' && message.mentions.repliedUser.id === client.user.id) {
    message.react('👍')
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM