use other bot slash commands

When I set up the application on Discord, I was able to let it use other bot's slash commands. How do I use this in Discord.JS?
Was this page helpful?