From cee9e090e58fca4caa08f87f9a09a04ad543d4cb Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Tue, 12 Jan 2016 10:02:54 -0800 Subject: [PATCH] update part rule --- modules/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin.py b/modules/admin.py index da778e4..5bd1035 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -34,7 +34,7 @@ def part(phenny, input): if input.sender.startswith('#'): return if input.admin: phenny.write(['PART'], input.group(2)) -part.commands = ['part'] +part.rule = (['part'], r'(#\S+)') part.priority = 'low' part.example = '.part #example'