jonathonor / syncBot

A bot that syncs roles between multiple discord servers.
https://www.jonsbots.com/syncBot
29 stars 16 forks source link

Setup does not work #12

Closed TechGeek285 closed 2 years ago

TechGeek285 commented 2 years ago

Whenever i run the register .js it does not go fuly. See pic Screenshot 2022-03-28 180251

MrYoung09 commented 2 years ago

same

jonathonor commented 2 years ago

I will go back through the documentation and specify this. Register uses the server1id from the config file. From the error message I can see you do not have it set.

TechGeek285 commented 2 years ago

I had to change in the register from server1id to main server ID. it now works but comes up with a load of error messages before shutting off. Can you fix this?

jonathonor commented 2 years ago

@TechGeek285 can you provide a screenshot of errors?

TechGeek285 commented 2 years ago

Yes. Give me a moment It is quite long @jonathonor

TechGeek285 commented 2 years ago

image image image image image image

TechGeek285 commented 2 years ago

That is some of it @jonathonor

jonathonor commented 2 years ago

You have accidentally mixed up your token with your mainserverid in the config from what I see. It also looks like I forgot to push updates to the register.js file. It needs to use mainserverid from config instead of server1id.

TechGeek285 commented 2 years ago

I replaced them and it still doesn’t work. It gives the role in all servers, gives that massive error then shuts off. @jonathonor

jonathonor commented 2 years ago

@TechGeek285 After running register.js to register the commands on your server, are you then running run.js and leaving it running to apply the roles? If so, please provide the error that the bot fails with so I can help.

jonathonor commented 2 years ago

@MrYoung09 please verify this is now fixed

jonathonor commented 2 years ago

@TechGeek285 were you able to resolve the problem? If not please reach out and I would be to happy to help on my discord server.

https://discord.gg/f8SUVvQZD3