ratify labeled-response

This commit is contained in:
jesopo 2020-02-03 10:23:12 +00:00
parent 18b27c256e
commit 30aadda093

View file

@ -1,13 +1,14 @@
import uuid import uuid
from src import ModuleManager, utils from src import ModuleManager, utils
CAP = utils.irc.Capability(None, "draft/labeled-response-0.2", CAP = utils.irc.Capability("labeled-response", "draft/labeled-response-0.2",
alias="labeled-response", depends_on=["batch"]) depends_on=["batch"])
TAG = utils.irc.MessageTag(None, "draft/label") TAG = utils.irc.MessageTag("label", "draft/label")
BATCH = utils.irc.BatchType(None, "draft/labeled-response") BATCH = utils.irc.BatchType("labeled-response", "draft/labeled-response")
CAP_TO_TAG = { CAP_TO_TAG = {
"draft/labeled-response-0.2": "draft/label" "draft/labeled-response-0.2": "draft/label",
"labeled-response": "label"
} }
class WaitingForLabel(object): class WaitingForLabel(object):