forked from uniborg/uniborg
lonami you piece of shit
This commit is contained in:
parent
bd271b7e29
commit
5dd06471db
|
@ -10,7 +10,7 @@ from uniborg import util
|
|||
DELETE_TIMEOUT = 2
|
||||
|
||||
|
||||
@borg.on(util.admin_cmd(r"^\.(?:re)?load (?P<shortname>\w+)$"))
|
||||
@borg.on(util.admin_cmd(r"^\.(?:(?:re)?load|enable|add) (?P<shortname>\w+)$"))
|
||||
async def load_reload(event):
|
||||
await event.delete()
|
||||
shortname = event.pattern_match["shortname"]
|
||||
|
|
Loading…
Reference in New Issue