3
私は自分の不和のボットを作成してきたが、私はこのコードのためにこのエラーを持っている:確執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