summaryrefslogtreecommitdiffstats
path: root/common/strings.json
blob: eefd73e54f4ea379a121ac30dbf98dfc19b477c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
    "help": {
        "help_basic": {
            "contact": "!contact domain.tld -- receive XMPP server contact address info",
            "help": "!help -- display all basic help information",
            "uptime": "!uptime domain.tld -- receive XMPP server uptime",
            "version": "!version domain.tld -- receive XMPP server version",
            "xep": "!xep $xepnumber -- receive xep info abstract"
        },
        "help_advanced": {
            "contact": {
                "info": "XEP-0157 contact addresses for XMPP Services request",
                "optional_args": {
                    "info": "it is not required to type the whole optional argument, it is only necessary to type at least the two starting characters.",
                    "possible_vars": [
                        "abuse-addresses",
                        "admin-addresses",
                        "feedback-addresses",
                        "sales-addresses",
                        "security-addresses",
                        "support-addresses"
                    ]
                },
                "targets": "valid target: domain.tld",
                "command": "!contact $target $optional_argument"
            },
            "uptime": {
                "info": "XEP-0012 last activity request",
                "targets": "valid targets: domain.tld",
                "command": "!uptime $target $optional_argument"
              },
            "version": {
                "info": "XEP-0072 version query request",
                "optional_args": {
                    "name": "receive the name of the software used",
                    "os": "receive only the operating system version",
                    "version": "receive only the software version used"
                },
                "targets": "valid targets are: domain.tld and jid/resource",
                "command": "!version $target $optional_argument"
            },
            "xep": {
                "info": "receive abstract of referenced XEP",
                "optional_args": {
                    "last_revision_tags": [
                        "date",
                        "version",
                        "initials",
                        "remark"
                    ],
                    "tags": [
                        "number",
                        "title",
                        "abstract",
                        "type",
                        "status",
                        "approver",
                        "shortname",
                        "sig",
                        "lastcall",
                        "date",
                        "version",
                        "initials",
                        "remark"
                    ]
                },
                "targets": "any valid integer",
                "command": "!xep $xepnumber $optional_argument"
            },
		  	"info": {
                "info": "pooled command to accumulate dataset composed of uptime version and contact",
                "targets": "valid target is: domain.tld",
                "command": "!info $target"
            }
        }
    },
    "functions": {
        "keywords": {
            "all": [
                "!help",
                "!uptime",
                "!version",
                "!contact",
                "!xep",
                "!info"
			],
            "domain": [
                "!uptime",
                "!version",
                "!contact"
            ],
            "expand": {
                "!info": ["!uptime", "!version", "!contact"]
			},
            "noarg": [
                "!help"
            ],
            "number": [
                "!xep"
            ]
        },
        "answers": [
            "I heard that %s",
            "%s I am sorry for that.",
            "%s did you try turning it off and on again?"
        ]
    }
}