-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Starting bot throws error #3
Comments
The token provided for your bot controller isn't valid. the shard count can't be set to 0 btw, otherwhise no shards will spawn. For a single shard set it to 1 (dev token and controller bot token shouldn't be the same) |
I also tried setting a new token specifically for the controller, and shards at 1. The bots both load but dont respond to commands. |
Please send the error when config are set to that. |
There is no error, it just doesnt respond to commands, shows only controller connects |
So it work well. You need to run the command .startAll with the controller and the bot should start |
Stuck on Shard 1 this is the error |
uh try to found the error with the |
oh I remember, run the |
I also have this error:
My config file: https://hasteb.in/ifuzidoq.json |
Read that: |
(and please open a new issue when you have a non linked problem) |
It's the same error because the shard crash and for fix it, I switch to node v12.16.2 |
This command explain the solution of your problem |
I know the solution because it's working now for me.. And you haven't to edit this file, just switch to node 12.16.2 |
yes but in some case it's impossible to switch to node 12.16.2 |
Ran the commands you suggested and the shard still crashes. do I need to do anything about the ports its opening? |
Try |
Debugger listening on ws://127.0.0.1:44444/1341bdae-4a19-4ff6-99f0-3deef7d7f3 Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/rest/RequestHandler' is not defined by "exports" in C:\Users\PC\Desktop\invite-manager-bot\node_modules\eris\package.json |
node -v |
Changed version to 11 and it all works now... |
Now try to launch using the sharding controller, npm start and .startAll |
This is the error: https://i.imgur.com/doBrRew.png
Ive set my shards to 0 on the controller.
My devToken is valid, my sql tables are set up correctly but it looks to be forcing the controller token space to be filled.
Once I fill it with the token, the bot loads but doesnt respond to any commands.
The text was updated successfully, but these errors were encountered: