-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyval_help.json
178 lines (178 loc) · 5.27 KB
/
pyval_help.json
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"admin": {
"adminadd": {
"args": "<nick>",
"desc": "Add an administrator by nick."
},
"adminhelp": {
"args": "[cmd]",
"desc": "Show help for an admin command, or list all cmds."
},
"adminlist": {
"args": null,
"desc": "List all current administrators."
},
"adminmsg": {
"args": "<msg>",
"desc": "Send a msg to all pyvalbot admins."
},
"adminreload": {
"args": null,
"desc": "Reload admins list from disk."
},
"adminrem": {
"args": "<nick>",
"desc": "Shortcut for adminremove."
},
"adminremove": {
"args": "<nick>",
"desc": "Remove an administrator by nick."
},
"ban": {
"args": "<nick>",
"desc": "Ban a nick from using the bot."
},
"banned": {
"args": null,
"desc": "List all currently banned nicks."
},
"banwarns": {
"args": null,
"desc": "Show ban warnings count."
},
"blacklist": {
"args": "[on, off, ?]",
"desc": "Change pyvalexec's blacklist option, or show the current value."
},
"channels": {
"args": null,
"desc": "Show current channels that pyval is in."
},
"chanmsg": {
"args": "<msg>",
"desc": "Send a msg to all channels pyvalbot is in."
},
"configget": {
"args": "<option>",
"desc": "Get a config option's value. Certain options are hidden from chat."
},
"configlist": {
"args": null,
"desc": "List current config."
},
"configsave": {
"args": null,
"desc": "Save current command-line options to permanent config."
},
"configset": {
"args": "<option> <value>",
"desc": "Set a config option's value. String values only for now. Remove options by passing - as the value."
},
"deop": {
"args": "[channel] [nick]",
"desc": "Request deop from ChanServ. Default channel is ##<botnick>. Default nick is the bot."
},
"deopme": {
"args": "[channel]",
"desc": "Shortcut to `deop [channel] <yournick>"
},
"getattr": {
"args": "<attribute>",
"desc": "Retrieve the value of a pyval CommandFuncs attribute. (ex: admins.channels)"
},
"id": {
"args": "<password>",
"desc": "Identify with NickServ. (shortcut for the identify command)"
},
"identify": {
"args": "<password>",
"desc": "Identify with NickServ."
},
"join": {
"args": "<channels>",
"desc": "Join a channel or multiple channels (using a comma-separated list)"
},
"limitrate": {
"args": "[on, off, ?]",
"desc": "Change pyval's limitrate option, or show the current value."
},
"me": {
"args": "<channel> <text>",
"desc": "Make pyval perform an irc action (/ME <text>) in a channel."
},
"msg": {
"args": "<target> <message>",
"desc": "Send a message to a nick or channel as pyvalbot."
},
"op": {
"args": "[channel] [nick]",
"desc": "Request ops from ChanServ. Default channel is ##<botnick>. Default nick is the bot."
},
"opme": {
"args": "[channel]",
"desc": "Shortcut to `op [channel] <yournick>"
},
"part": {
"args": "<channels>",
"desc": "Part/Leave a channel or multiple channels (using a comma-separated list)"
},
"partall": {
"args": null,
"desc": "Part/Leave all current channels."
},
"say": {
"args": "<message>",
"desc": "Make pyvalbot respond to you with a message."
},
"sendline": {
"args": "<data>",
"desc": "Send a raw line to the irc server as pyvalbot."
},
"setattr": {
"args": "<attribute> <val>",
"desc": "Set a pyval CommandFuncs attribute. (ex: !setattr admin.blacklist True)"
},
"shutdown": {
"args": null,
"desc": "Shut pyval down cleanly, disconnect and kill the process."
},
"stats": {
"args": null,
"desc": "Show handled-count (number of commands handled), and uptime (time since startup)"
},
"topic": {
"args": "[<channel>] <message>",
"desc": "Set the topic for a channel. Defaults to the bot's channel and default message."
},
"unban": {
"args": "<nick>",
"desc": "Remove a nick from the banned list."
}
},
"user": {
"help": {
"args": "[cmdname]",
"desc": "list commands or show command help."
},
"py": {
"args": "[--paste] <python code>",
"desc": "evaluates python code through pypy-sandbox. force output to the pastebin with -p or --paste."
},
"python": {
"args": "[--paste] <python code>",
"desc": "evaluates python code through pypy-sandbox. force output to the pastebin with -p or --paste."
},
"pyval": {
"args": "<message>",
"desc": "say something to the pyval operator."
},
"time": {
"args": null,
"desc": "shows current time for pyval."
},
"uptime": {
"args": null,
"desc": "show uptime for pyval."
}
}
}