~sgeisenh/streambot

1d694ae687a38b71b9d3a47b936d378aebe35712 — Samuel Eisenhandler 1 year, 5 months ago a31e87b
Do not require prefix
1 files changed, 0 insertions(+), 4 deletions(-)

M streambot.py
M streambot.py => streambot.py +0 -4
@@ 77,10 77,6 @@ class StreamBotHandler:

        content = message["content"]
        without_prefix = content.removeprefix("@streambot ")
        if content == without_prefix:
            handle_error("missing required prefix '@streambot '")
            return

        command = without_prefix.split()

        # TODO: update botserver to support python 3.10 and switch back to