This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 255
How to open multiple rtmbots on the server? #28
Labels
Comments
I would love to see an answer to this question. I am going through the same thing. mtermoul - did you figure this out? |
I have multiple running on one server. Each one gets its own socket on start up. I put them all into different folders (rtm1, rtm2, etc) and daemonize them so that they run under different pids. |
No, it's not possible, we rewrote RTMbot to allow multiple teams from one python process. |
Yes, you can do that, no problem. First, to run a bot programmatically (instead of command line) you do this:
After that, it's simple to make it multi-threaded:
|
@MeLight nice! Want to add those instructions to the README? |
@Roach opened a pull request with README changes |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Well, I am trying to have a server that have multiple rtmbots. Each one will have it's own websocket that connects to one team/client.
However in the main loop, I see that you can only open one websocket to the client specified in the .conf token.
Is there a way to open multiple RTM connection dynamically at runtime?
The text was updated successfully, but these errors were encountered: