![](/img/trans.png)
[英]How can I make a discord bot check the contents of a message and reply with a different message depending on the author?
[英]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.