can you make a bot run a bot command

i know it sounds super stupid, but for reasons I'd like to have a bot run a command (its using the same bot token, but running in a separate process). Is that at all possible?
4 Replies
d.js docs
d.js docs2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
skeddles
skeddles2y ago
is there any methods for exposing APIs for bots so they can intercommunicate? any common practices? ideally I'd like it to work across servers, so IPC wouldn't always work
MrMythical
MrMythical2y ago
no
skeddles
skeddles2y ago
yeah decided to just make it a web server. though i gotta lock it down somehow