diff --git a/commands.ini b/commands.ini index c07fbb7..83fe6f5 100644 --- a/commands.ini +++ b/commands.ini @@ -1,5 +1,5 @@ [commands] -!help = Commands {command} +!help = Commands {commands} !backseat = **No backseating** unless {botowner} specifically asks for help !hydrate = [HYDRATE] {sender} wants {botowner} to take a drink! !stretch = [STRETCH] {sender} reminds {botowner} to stretch! diff --git a/core/owncast.py b/core/owncast.py index 2e997f0..d7740f3 100644 --- a/core/owncast.py +++ b/core/owncast.py @@ -107,7 +107,7 @@ def process_placeholders(sender, param, text): def process_chat(data): sender = data["user"]["displayName"] - text = data["body"] + text = data["body"][3:-4] command_reply = get_command(text) logging.info("<{}> {}".format(sender, text)) diff --git a/start.sh b/start.sh index 2c38493..ea483f3 100755 --- a/start.sh +++ b/start.sh @@ -1,2 +1,2 @@ #!/bin/sh -FLASK_APP=bot.py pipenv run python3 -m flask run +FLASK_APP=bot.py pipenv run python3 -m flask run --port 6969