#Running multiple bot clients on the same process

2 messages · Page 1 of 1 (latest)

agile gazelle
#

My objective is to activate bot processes on my users' behalf when they provide me a BotToken and AppId.
I was thinking of having a simple node server (ie. Express) with an internal API to start/stop/restart bots, and keeping all the client connections in memory. Does that sounds like a disaster plan? All bots have the same source (just different configs) so I'm really trying to avoid multiplying hosts here.

sacred forge
#

• 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.