From 5dd06471dbec179d3692ebf228934bedbde52862 Mon Sep 17 00:00:00 2001 From: udf Date: Mon, 29 Jul 2019 22:38:13 +0200 Subject: [PATCH] lonami you piece of shit --- uniborg/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniborg/_core.py b/uniborg/_core.py index 7475028..77cb260 100644 --- a/uniborg/_core.py +++ b/uniborg/_core.py @@ -10,7 +10,7 @@ from uniborg import util DELETE_TIMEOUT = 2 -@borg.on(util.admin_cmd(r"^\.(?:re)?load (?P\w+)$")) +@borg.on(util.admin_cmd(r"^\.(?:(?:re)?load|enable|add) (?P\w+)$")) async def load_reload(event): await event.delete() shortname = event.pattern_match["shortname"]