When i run my code to start the bot it displays an error: Somthing took to long to do. Here is a screen shoot from it:
https://prnt.sc/fkgj4c
I also made another bot without any commands in the code just the starting code and it still didnt work
Further details:
Operating system: Windows 7 64Bit
[ ] I have also tested the issue on latest master, commit hash:
You haven't indicated any specific issue you're seeing with the library. A reproducible code sample (which was requested in the issue template you've apparently disregarded) would be instrumental in determining the underlying cause of this issue.
but its not only in my code i tried it in more than one code and it still didn't work
anyway here is the code https://pastebin.com/snSf0Ljp
"Something Took Too Long" is not a code problem. It's a connection problem. This indicates that the connection between your code and the Discord websocket timed out. This can be because of a bad connection, an outgoing firewall, or a badly configured network. It's not a lib issue.
is there anyway to see what blocks the bot from running??
@IWasAndrerstajn , when you login
bot.login('MzIw');
Change it by :
bot.login('MzIw').catch(console.error);
This will display the error from Discord.js
I think that you have some trouble to connect, so let's see what Discordapi answers you
help me,
it's my Profile - https://glitch.com/@tubamfich
http://prntscr.com/rvawbg