Discord Bot ID Locker problem

I have a problem with my discord bot that locked my other discord bots id so that you can sell them, i received a small template from a person with commands and api, the last few months i have expanded it with a product system, that means if someone a bot buys then i do /addproduct (user) (product entered in a json file). The problem now is that I got a command from my friend that says /changeguildid (productid) (guildid of the customer's discord server) but it doesn't work like I thought it would, I don't know exactly how to add the productid that it works. I can post the code below. the console.log outputs are german ignore it index.js https://sourceb.in/0rJPzQdnuV api.js https://sourceb.in/zuPb54kejw
SourceBin
code
code
SourceBin
code
Instantly share your code with the world.
1 Reply
d.js toolkit
d.js toolkit11mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!