Closed dylanjamesdev closed 3 years ago
Ahm, you should have got a error message, shouldn't you? Please provide it.
No that error was just on the function being started with the client. The giveaways also end freeze around 22 seconds without finishing.
Ahm, you should have got a error message, shouldn't you? Please provide it.
Uncaught Promise Error: TypeError: member.hasPermission is not a function
this should be it for protocol
I just ran another giveaway to try and reproduce the error, it can't find the member's ID within the node module while trying to finish the giveaway.
[Unhandled Rejection] TypeError: Cannot read property 'id' of undefined at /root/tritan-bot/node_modules/discord-giveaways/src/Giveaway.js:338:89
Ahm, you should have got a error message, shouldn't you? Please provide it.
Uncaught Promise Error: TypeError: member.hasPermission is not a function
this should be it for protocol
Ahh my bad I thought it was in the code snippet, that was the message yes.
npm install Androz2091/discord-giveaways#develop
that branch should have the fix, try it
Thank you :)