diff --git a/scripts/bot/run-bot.sh b/scripts/bot/run-bot.sh index 41c2c75715cd0505a426d7e93fb1ce9e72537f03..7bd9b986a2463a2864403b81599a0e161206d58e 100755 --- a/scripts/bot/run-bot.sh +++ b/scripts/bot/run-bot.sh @@ -16,6 +16,10 @@ yarn echo 'Running Hubs' yarn serve --ssl --port 8080 ../../public & echo 'Running bots' -node run-bot.js +if [ "$1" != "" ]; then + node run-bot.js --room $1 +else + node run-bot.js +fi trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT