1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 21:13:13 +02:00

Allow ns_set_misc/cs_set_misc to have configurable help descriptions

This commit is contained in:
Adam
2013-01-13 21:56:36 -05:00
parent d3a6bdc68b
commit 7e7fc757d5
4 changed files with 95 additions and 5 deletions
+3 -2
View File
@@ -1116,10 +1116,11 @@ command { service = "ChanServ"; name = "SASET NOEXPIRE"; command = "chanserv/sas
* Provides the command chanserv/set/misc.
*
* Allows you to create arbitrary commands to set data, and have that data show up in chanserv/info.
* A field named misc_description may be given for use with help output.
*/
module { name = "cs_set_misc" }
command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; }
command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; }
command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; misc_description = _("Associate a URL with the channel") }
command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; misc_description = _("Associate an E-mail address with the channel") }
/*
* cs_status
+2 -1
View File
@@ -529,9 +529,10 @@ command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/sas
* Provides the command nickserv/set/misc.
*
* Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info.
* A field named misc_description may be given for use with help output.
*/
module { name = "ns_set_misc" }
command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; }
command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associate a URL with your account") }
#command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; }
#command { service = "NickServ"; name = "SET TWITTER"; command = "nickserv/set/misc"; }
#command { service = "NickServ"; name = "SET FACEBOOK"; command = "nickserv/set/misc"; }