This program allows to remotely change between scenes by reacting to emojis in a Discord text channel.
- Python 3.8.x
- Discord.py latest
- OBS Studio >= 27.1.3
- obs-websocket >= 5.x.x
- simpleobsws >= 1.x.x
To get everything working properly, follow these steps:
- Install every requirement above
- You can do it manually or by executing
pip install -r requirements.txt
- You can do it manually or by executing
- Get the Discord bot token and then replace in config.json
- Set the OBS websocket port and password and then replace in config.json
- Recommended to keep the default port, 4444
- Run
connector.py
script - Invite the bot to your Discord server
- Send
$setup
in any text channel- A channel will be created with the name in
config.json
- A channel will be created with the name in
Obs: The IDs will be filled automatically in the step 6.
config.json
{
"discord_token": "",
"obs_url": "ws://localhost:4444",
"obs_password": "123456",
"update_time": 2,
"channel-name": "controller",
"guild-id": null,
"channel-id": null,
"msg-id": null
}
- Discord requests are too fast and the bot is being rate limited
- OBS sometimes crashes when is closed while the controller is still running