From 1637193a532085a376b7005eec776d25f44f3159 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 30 Jun 2016 17:44:35 -0700 Subject: [PATCH] service_support: add description for main PyLink bot --- coremods/service_support.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/coremods/service_support.py b/coremods/service_support.py index 61cc2e7..58388b3 100644 --- a/coremods/service_support.py +++ b/coremods/service_support.py @@ -110,4 +110,9 @@ utils.add_hook(handle_commands, 'PRIVMSG') # Register the main PyLink service. All command definitions MUST go after this! mynick = conf.conf['bot'].get("nick", "PyLink") myident = conf.conf['bot'].get("ident", "pylink") -utils.registerService('pylink', nick=mynick, ident=myident, manipulatable=True) + +# TODO: be more specific, and possibly allow plugins to modify this to mention +# their features? +mydesc = "\x02%s\x02 provides extended network services for IRC." % mynick + +utils.registerService('pylink', nick=mynick, ident=myident, desc=mydesc, manipulatable=True)