For some scripts, we only want them to listen/respond in specific rooms, so we should try to come up with a better way to handle this.
You can see in the beer.coffee script how we pull a list of rooms from the env variables and then only if we are in those rooms, respond. If we ever add another room that's approved, we need to update each script to add it in manually, which can be tedious.
For some scripts, we only want them to listen/respond in specific rooms, so we should try to come up with a better way to handle this.
You can see in the beer.coffee script how we pull a list of rooms from the env variables and then only if we are in those rooms, respond. If we ever add another room that's approved, we need to update each script to add it in manually, which can be tedious.