Implement monitoring system for flexible metadata matching

This commit is contained in:
2018-07-27 22:58:37 +01:00
parent 66e7785f6f
commit bc87ffddf7
12 changed files with 305 additions and 11 deletions

View File

@@ -123,11 +123,11 @@ class Key:
incUsage("key")
return
elif length == 2:
if spl[1] == "show":
if spl[1] == "list":
info(",".join(main.keyconf["Keywords"]))
return
elif spl[1] == "showexcept":
elif spl[1] == "listexcept":
exceptMap = []
for i in main.keyconf["KeywordsExcept"].keys():
exceptMap.append("Key: %s" % i)