-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash receiving private messages #33
Comments
Thanks for posting this, I think I can fix it but I will have to do it tomorrow. Thanks |
Issue is now fixed! See 3578178. Thanks for bringing it to my attention, you can get the fix by either cloning the repo or just running npm update. It's been released as a bug fix in 3.8.2. |
Still unresolved, the I can make a better debug in private messages once i get some free time. |
Are you sure? It's fully working here, and isPrivate should be set. Can you state which OS and node version you're running on. |
On probably you was using same user for tests then the chanel was already created. |
same thing happened with me just now. the first private message i sent our bot crashed it out. All messages after were fine. Asked one of our mods to send a PM, this was the first from her, and it crashed the bot, all others after were fine. So yes, it appears that the first, initial PM to the bot from each user will crash it, as its not processing the PM channel creation properly. After the channel is created (per user), everything is fine. I am using the latest version of Discord.js
|
I don't know if hydrabolt published the lasts commits on npm. Can you try to install the lib directly from git?
|
I've not yet been able to push enebe-nb's fixes to npm, I will be able to do so within a few hours |
Whoops didn't mean to close haha |
The fix has now been pushed to npm (version 3.8.3) |
It seems there's none server when receiving private messages and this causes an error.
first message's error log:
second and after error log:
The text was updated successfully, but these errors were encountered: