diff options
author | makefu <root@pigstarter.de> | 2014-04-25 12:12:18 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2014-04-25 12:12:18 +0200 |
commit | 56de31fe812d338ed49d2cfbb4c5dad9761bedf0 (patch) | |
tree | cb62d8dd7895679ca085527fd1084a92c2bd90e3 | |
parent | 3907535dd48b94b3edd5facde0245719f04effb2 (diff) |
add ^
-rw-r--r-- | Reaktor/titlebot/titlebot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/titlebot/titlebot.py b/Reaktor/titlebot/titlebot.py index d04789c3..f85e69f2 100644 --- a/Reaktor/titlebot/titlebot.py +++ b/Reaktor/titlebot/titlebot.py @@ -36,7 +36,7 @@ def default_command(cmd): def dot_command(cmd): return { 'capname': cmd, - 'pattern': '\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$', + 'pattern': '^\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$', 'argv': [ 'titlebot/commands/' + cmd ] } public_commands = [ |