core (plugins): added missing contants + use of new constants in PLUGIN_INFO

This commit is contained in:
Goffi 2017-02-12 18:59:10 +01:00
commit ac7d587c49

View file

@ -28,14 +28,14 @@ from twisted.python import failure
from collections import OrderedDict
PLUGIN_INFO = {
"name": "Text commands",
"import_name": C.TEXT_CMDS,
"type": "Misc",
"protocols": ["XEP-0245"],
"dependencies": [],
"main": "TextCommands",
"handler": "no",
"description": _("""IRC like text commands""")
C.PI_NAME: "Text commands",
C.PI_IMPORT_NAME: C.TEXT_CMDS,
C.PI_TYPE: "Misc",
C.PI_PROTOCOLS: ["XEP-0245"],
C.PI_DEPENDENCIES: [],
C.PI_MAIN: "TextCommands",
C.PI_HANDLER: "no",
C.PI_DESCRIPTION: _("""IRC like text commands""")
}