0
rated 0 times
[
4]
[
4]
/ answers: 1 / hits: 66690
/ 7 Years ago, wed, may 31, 2017, 12:00:00
I've been created my own discord bot but i have this error for this code:
message.channel.send(:apple:***SONDAGE :apple:n +choix1+ ou ++choix2+***)
.then(function (message) {
message.react(👍)
message.react(👎)
message.pin()
message.delete()
});
It's send a message to the channel and add reaction, and in my console i have this error:
(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
More From » bots