3
我已经创建了自己的不和谐的机器人,但我有这个错误此代码BOT消息:不和谐JS添加反应
\t \t message.channel.send(":apple:***SONDAGE :apple:\n "+choix1+" ou "+""+choix2+"***")
\t \t .then(function (message) {
message.react("")
message.react("")
\t \t message.pin()
message.delete()
\t \t \t });
这是将消息发送到通道和加入反应,并在我的控制台我有这样的错误:
(node:11728) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): DiscordAPIError: Unknown Message
(node:11728) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:11728) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): DiscordAPIError: Unknown Message