Skip to content
Sign upLog in
← Back to Community
Suggestions on implementing interconnection between Python repls
Profile icon
THEDK

So I have a couple of Discord Bots. They work fine by their own but I want to come up with a way to share information between each bot and a script so that every bot shares the same information and possibly allowing me to control every bot by sending a command to the script which would call a function in each bot.

I've tried to use socket my client script does not see the server script.

I'm unfamiliar with databases but I don't feel this is what I want since to my knowledge, a database holds info but it cannot send commands.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
GhinaM2000
Profile icon
THEDK
Comments
hotnewtop
Profile icon
Coder100

Yes. You can use http servers to create some sort of api to control the bots, but don't forget to make it secure and add secret tokens!