diff --git a/uniborg/_core.py b/uniborg/_core.py index 378819f..b62c386 100644 --- a/uniborg/_core.py +++ b/uniborg/_core.py @@ -31,7 +31,7 @@ async def load_reload(event): await event.respond(f"Failed to (re)load plugin {shortname}: {e}") -@borg.on(util.admin_cmd(r"^\.remove (?P\w+)$")) +@borg.on(util.admin_cmd(r"^\.(?:unload|remove) (?P\w+)$")) async def remove(event): await event.delete() shortname = event.pattern_match["shortname"]