From 34644d42f41ad7c92f8f24782ba90a41e7b9398f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 16 Oct 2016 17:01:58 -0400 Subject: [PATCH] Fix name error --- plugins/bomb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bomb.py b/plugins/bomb.py index 248a6b3..12a8036 100644 --- a/plugins/bomb.py +++ b/plugins/bomb.py @@ -35,7 +35,7 @@ def process_hello(data): COLLECTIONS[parts[1]] = json.load(f) collections_re = '|'.join(COLLECTIONS.keys()) - collections_re = r'(?P{})'.format(collection_commands_re) + collections_re = r'(?P{})'.format(collections_re) global CMD_RE CMD_RE = re.compile(r'!{}(\s+(me|(?P\d+)))?'.format(collections_re)) ADD_RE = re.compile(r'!bombadd\s+{}\s+(?P\S+)'.format(collections_re))