#Running multiple bot clients on the same process

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