omlish 0.0.0.dev424__py3-none-any.whl → 0.0.0.dev425__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- omlish/__about__.py +3 -3
- omlish/dataclasses/impl/configs.py +2 -1
- omlish/formats/json/stream/lexing.py +8 -0
- omlish/formats/json/stream/utils.py +3 -0
- omlish/formats/json5/streams.py +22 -0
- omlish/lang/__init__.py +3 -1
- omlish/lang/asyncs.py +12 -0
- omlish/lang/functions.py +0 -11
- omlish/lang/lazyglobals.py +27 -5
- omlish/lang/maysync.py +2 -2
- omlish/lifecycles/contextmanagers.py +1 -2
- omlish/lifecycles/controller.py +1 -2
- omlish/lite/asyncs.py +15 -0
- omlish/lite/timing.py +2 -2
- omlish/logs/all.py +23 -34
- omlish/logs/base.py +248 -0
- omlish/logs/callers.py +21 -15
- omlish/logs/infos.py +105 -0
- omlish/logs/levels.py +64 -0
- omlish/logs/protocols.py +31 -0
- omlish/logs/standard.py +12 -11
- omlish/logs/std/adapters.py +41 -0
- omlish/logs/std/configs.py +29 -0
- omlish/logs/{filters.py → std/filters.py} +1 -1
- omlish/logs/{handlers.py → std/handlers.py} +1 -1
- omlish/logs/{json.py → std/json.py} +2 -2
- omlish/logs/{proxy.py → std/proxy.py} +3 -3
- omlish/logs/std/records.py +286 -0
- omlish/logs/times.py +89 -0
- omlish/logs/typed/bindings.py +24 -0
- omlish/logs/utils.py +60 -4
- omlish/logs/warnings.py +8 -0
- omlish/manifests/loading.py +1 -1
- omlish/os/journald.py +3 -3
- omlish/testing/pytest/plugins/skips.py +0 -4
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/METADATA +1 -1
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/RECORD +44 -86
- omlish/defs.py +0 -216
- omlish/dispatch/_dispatch2.py +0 -69
- omlish/dispatch/_dispatch3.py +0 -108
- omlish/dynamic.py +0 -219
- omlish/formats/json/Json.g4 +0 -77
- omlish/formats/json/_antlr/JsonLexer.py +0 -109
- omlish/formats/json/_antlr/JsonListener.py +0 -61
- omlish/formats/json/_antlr/JsonParser.py +0 -457
- omlish/formats/json/_antlr/JsonVisitor.py +0 -42
- omlish/io/trampoline.py +0 -289
- omlish/logs/abc.py +0 -319
- omlish/logs/color.py +0 -27
- omlish/logs/configs.py +0 -29
- omlish/logs/protocol.py +0 -218
- omlish/logs/timing.py +0 -58
- omlish/specs/irc/__init__.py +0 -0
- omlish/specs/irc/messages/__init__.py +0 -0
- omlish/specs/irc/messages/base.py +0 -49
- omlish/specs/irc/messages/formats.py +0 -92
- omlish/specs/irc/messages/messages.py +0 -774
- omlish/specs/irc/messages/parsing.py +0 -98
- omlish/specs/irc/numerics/__init__.py +0 -0
- omlish/specs/irc/numerics/formats.py +0 -97
- omlish/specs/irc/numerics/numerics.py +0 -865
- omlish/specs/irc/numerics/types.py +0 -59
- omlish/specs/irc/protocol/LICENSE +0 -11
- omlish/specs/irc/protocol/__init__.py +0 -61
- omlish/specs/irc/protocol/consts.py +0 -6
- omlish/specs/irc/protocol/errors.py +0 -30
- omlish/specs/irc/protocol/message.py +0 -21
- omlish/specs/irc/protocol/nuh.py +0 -55
- omlish/specs/irc/protocol/parsing.py +0 -158
- omlish/specs/irc/protocol/rendering.py +0 -153
- omlish/specs/irc/protocol/tags.py +0 -102
- omlish/specs/irc/protocol/utils.py +0 -30
- omlish/specs/proto/Protobuf3.g4 +0 -396
- omlish/specs/proto/__init__.py +0 -0
- omlish/specs/proto/_antlr/Protobuf3Lexer.py +0 -340
- omlish/specs/proto/_antlr/Protobuf3Listener.py +0 -448
- omlish/specs/proto/_antlr/Protobuf3Parser.py +0 -3909
- omlish/specs/proto/_antlr/Protobuf3Visitor.py +0 -257
- omlish/specs/proto/_antlr/__init__.py +0 -0
- omlish/specs/proto/nodes.py +0 -54
- omlish/specs/proto/parsing.py +0 -97
- omlish/sql/parsing/Minisql.g4 +0 -292
- omlish/sql/parsing/__init__.py +0 -0
- omlish/sql/parsing/_antlr/MinisqlLexer.py +0 -322
- omlish/sql/parsing/_antlr/MinisqlListener.py +0 -511
- omlish/sql/parsing/_antlr/MinisqlParser.py +0 -3763
- omlish/sql/parsing/_antlr/MinisqlVisitor.py +0 -292
- omlish/sql/parsing/_antlr/__init__.py +0 -0
- omlish/sql/parsing/parsing.py +0 -119
- /omlish/{.manifests.json → .omlish-manifests.json} +0 -0
- /omlish/{formats/json/_antlr → logs/std}/__init__.py +0 -0
- /omlish/logs/{noisy.py → std/noisy.py} +0 -0
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/WHEEL +0 -0
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/licenses/LICENSE +0 -0
- {omlish-0.0.0.dev424.dist-info → omlish-0.0.0.dev425.dist-info}/top_level.txt +0 -0
@@ -1,865 +0,0 @@
|
|
1
|
-
from .types import NumericReplies
|
2
|
-
from .types import NumericReply
|
3
|
-
|
4
|
-
|
5
|
-
##
|
6
|
-
|
7
|
-
|
8
|
-
_REGISTERED_NUMERIC_REPLIES: list[NumericReply] = []
|
9
|
-
|
10
|
-
|
11
|
-
def _register_numeric_reply(
|
12
|
-
name: str,
|
13
|
-
num: int,
|
14
|
-
*formats: str,
|
15
|
-
) -> NumericReply:
|
16
|
-
nr = NumericReply(
|
17
|
-
name,
|
18
|
-
num,
|
19
|
-
formats,
|
20
|
-
)
|
21
|
-
_REGISTERED_NUMERIC_REPLIES.append(nr)
|
22
|
-
return nr
|
23
|
-
|
24
|
-
|
25
|
-
##
|
26
|
-
|
27
|
-
|
28
|
-
RPL_WELCOME = _register_numeric_reply(
|
29
|
-
'RPL_WELCOME',
|
30
|
-
1,
|
31
|
-
'<client> :Welcome to the <networkname> Network, <nick>[!<user>@<host>]',
|
32
|
-
)
|
33
|
-
|
34
|
-
RPL_YOURHOST = _register_numeric_reply(
|
35
|
-
'RPL_YOURHOST',
|
36
|
-
2,
|
37
|
-
'<client> :Your host is <servername>, running version <version>',
|
38
|
-
)
|
39
|
-
|
40
|
-
RPL_CREATED = _register_numeric_reply(
|
41
|
-
'RPL_CREATED',
|
42
|
-
3,
|
43
|
-
'<client> :This server was created <datetime>',
|
44
|
-
)
|
45
|
-
|
46
|
-
RPL_MYINFO = _register_numeric_reply(
|
47
|
-
'RPL_MYINFO',
|
48
|
-
4,
|
49
|
-
'<client> <servername> <version> <available user modes> <available channel modes> [<channel modes with a parameter>]', # noqa
|
50
|
-
# noqa
|
51
|
-
)
|
52
|
-
|
53
|
-
RPL_ISUPPORT = _register_numeric_reply(
|
54
|
-
'RPL_ISUPPORT',
|
55
|
-
5,
|
56
|
-
'<client> <1-13 tokens> :are supported by this server',
|
57
|
-
)
|
58
|
-
|
59
|
-
RPL_BOUNCE = _register_numeric_reply(
|
60
|
-
'RPL_BOUNCE',
|
61
|
-
10,
|
62
|
-
'<client> <hostname> <port> :<info>',
|
63
|
-
)
|
64
|
-
|
65
|
-
RPL_STATSLINKINFO = _register_numeric_reply(
|
66
|
-
'RPL_STATSLINKINFO',
|
67
|
-
211,
|
68
|
-
'<linkname> <sendq> <sent messages> <sent Kbytes> <received messages> <received Kbytes> <time open>',
|
69
|
-
)
|
70
|
-
|
71
|
-
RPL_STATSCOMMANDS = _register_numeric_reply(
|
72
|
-
'RPL_STATSCOMMANDS',
|
73
|
-
212,
|
74
|
-
'<client> <command> <count> [<byte count> <remote count>]',
|
75
|
-
)
|
76
|
-
|
77
|
-
RPL_STATSCLINE = _register_numeric_reply('RPL_STATSCLINE', 213)
|
78
|
-
|
79
|
-
RPL_STATSNLINE = _register_numeric_reply('RPL_STATSNLINE', 214)
|
80
|
-
|
81
|
-
RPL_STATSILINE = _register_numeric_reply('RPL_STATSILINE', 215)
|
82
|
-
|
83
|
-
RPL_STATSKLINE = _register_numeric_reply('RPL_STATSKLINE', 216)
|
84
|
-
|
85
|
-
RPL_STATSQLINE = _register_numeric_reply('RPL_STATSQLINE', 217)
|
86
|
-
|
87
|
-
RPL_STATSYLINE = _register_numeric_reply('RPL_STATSYLINE', 218)
|
88
|
-
|
89
|
-
RPL_ENDOFSTATS = _register_numeric_reply(
|
90
|
-
'RPL_ENDOFSTATS',
|
91
|
-
219,
|
92
|
-
'<client> <stats letter> :End of /STATS report',
|
93
|
-
)
|
94
|
-
|
95
|
-
RPL_UMODEIS = _register_numeric_reply(
|
96
|
-
'RPL_UMODEIS',
|
97
|
-
221,
|
98
|
-
'<client> <user modes>',
|
99
|
-
)
|
100
|
-
|
101
|
-
RPL_STATSVLINE = _register_numeric_reply('RPL_STATSVLINE', 240)
|
102
|
-
|
103
|
-
RPL_STATSLLINE = _register_numeric_reply('RPL_STATSLLINE', 241)
|
104
|
-
|
105
|
-
RPL_STATSUPTIME = _register_numeric_reply(
|
106
|
-
'RPL_STATSUPTIME',
|
107
|
-
242,
|
108
|
-
'<client> :Server Up <days> days <hours>:<minutes>:<seconds>',
|
109
|
-
)
|
110
|
-
|
111
|
-
RPL_STATSOLINE = _register_numeric_reply(
|
112
|
-
'RPL_STATSOLINE',
|
113
|
-
243,
|
114
|
-
'O <hostmask> * <name>',
|
115
|
-
)
|
116
|
-
|
117
|
-
RPL_STATSHLINE = _register_numeric_reply('RPL_STATSHLINE', 244)
|
118
|
-
|
119
|
-
RPL_STATSPING = _register_numeric_reply('RPL_STATSPING', 246)
|
120
|
-
|
121
|
-
RPL_STATSBLINE = _register_numeric_reply('RPL_STATSBLINE', 247)
|
122
|
-
|
123
|
-
RPL_STATSDLINE = _register_numeric_reply('RPL_STATSDLINE', 250)
|
124
|
-
|
125
|
-
RPL_LUSERCLIENT = _register_numeric_reply(
|
126
|
-
'RPL_LUSERCLIENT',
|
127
|
-
251,
|
128
|
-
'<client> :There are <u> users and <i> invisible on <s> servers',
|
129
|
-
)
|
130
|
-
|
131
|
-
RPL_LUSEROP = _register_numeric_reply(
|
132
|
-
'RPL_LUSEROP',
|
133
|
-
252,
|
134
|
-
'<client> <ops> :operator(s) online',
|
135
|
-
)
|
136
|
-
|
137
|
-
RPL_LUSERUNKNOWN = _register_numeric_reply(
|
138
|
-
'RPL_LUSERUNKNOWN',
|
139
|
-
253,
|
140
|
-
'<client> <connections> :unknown connection(s)',
|
141
|
-
)
|
142
|
-
|
143
|
-
RPL_LUSERCHANNELS = _register_numeric_reply(
|
144
|
-
'RPL_LUSERCHANNELS',
|
145
|
-
254,
|
146
|
-
'<client> <channels> :channels formed',
|
147
|
-
)
|
148
|
-
|
149
|
-
RPL_LUSERME = _register_numeric_reply(
|
150
|
-
'RPL_LUSERME',
|
151
|
-
255,
|
152
|
-
'<client> :I have <c> clients and <s> servers',
|
153
|
-
)
|
154
|
-
|
155
|
-
RPL_ADMINME = _register_numeric_reply(
|
156
|
-
'RPL_ADMINME',
|
157
|
-
256,
|
158
|
-
'<client> [<server>] :Administrative info',
|
159
|
-
)
|
160
|
-
|
161
|
-
RPL_ADMINLOC1 = _register_numeric_reply(
|
162
|
-
'RPL_ADMINLOC1',
|
163
|
-
257,
|
164
|
-
'<client> :<info>',
|
165
|
-
)
|
166
|
-
|
167
|
-
RPL_ADMINLOC2 = _register_numeric_reply(
|
168
|
-
'RPL_ADMINLOC2',
|
169
|
-
258,
|
170
|
-
'<client> :<info>',
|
171
|
-
)
|
172
|
-
|
173
|
-
RPL_ADMINEMAIL = _register_numeric_reply(
|
174
|
-
'RPL_ADMINEMAIL',
|
175
|
-
259,
|
176
|
-
'<client> :<info>',
|
177
|
-
)
|
178
|
-
|
179
|
-
RPL_TRYAGAIN = _register_numeric_reply(
|
180
|
-
'RPL_TRYAGAIN',
|
181
|
-
263,
|
182
|
-
'<client> <command> :Please wait a while and try again.',
|
183
|
-
)
|
184
|
-
|
185
|
-
RPL_LOCALUSERS = _register_numeric_reply(
|
186
|
-
'RPL_LOCALUSERS',
|
187
|
-
265,
|
188
|
-
'<client> [<u> <m>] :Current local users <u>, max <m>',
|
189
|
-
)
|
190
|
-
|
191
|
-
RPL_GLOBALUSERS = _register_numeric_reply(
|
192
|
-
'RPL_GLOBALUSERS',
|
193
|
-
266,
|
194
|
-
'<client> [<u> <m>] :Current global users <u>, max <m>',
|
195
|
-
)
|
196
|
-
|
197
|
-
RPL_WHOISCERTFP = _register_numeric_reply(
|
198
|
-
'RPL_WHOISCERTFP',
|
199
|
-
276,
|
200
|
-
'<client> <nick> :has client certificate fingerprint <fingerprint>',
|
201
|
-
)
|
202
|
-
|
203
|
-
RPL_NONE = _register_numeric_reply(
|
204
|
-
'RPL_NONE',
|
205
|
-
300,
|
206
|
-
)
|
207
|
-
|
208
|
-
RPL_AWAY = _register_numeric_reply(
|
209
|
-
'RPL_AWAY',
|
210
|
-
301,
|
211
|
-
'<client> <nick> :<message>',
|
212
|
-
)
|
213
|
-
|
214
|
-
RPL_USERHOST = _register_numeric_reply(
|
215
|
-
'RPL_USERHOST',
|
216
|
-
302,
|
217
|
-
'<client> :[<reply>{ <reply>}]',
|
218
|
-
)
|
219
|
-
|
220
|
-
RPL_UNAWAY = _register_numeric_reply(
|
221
|
-
'RPL_UNAWAY',
|
222
|
-
305,
|
223
|
-
'<client> :You are no longer marked as being away',
|
224
|
-
)
|
225
|
-
|
226
|
-
RPL_NOWAWAY = _register_numeric_reply(
|
227
|
-
'RPL_NOWAWAY',
|
228
|
-
306,
|
229
|
-
'<client> :You have been marked as being away',
|
230
|
-
)
|
231
|
-
|
232
|
-
RPL_WHOISREGNICK = _register_numeric_reply(
|
233
|
-
'RPL_WHOISREGNICK',
|
234
|
-
307,
|
235
|
-
'<client> <nick> :has identified for this nick',
|
236
|
-
)
|
237
|
-
|
238
|
-
RPL_WHOISUSER = _register_numeric_reply(
|
239
|
-
'RPL_WHOISUSER',
|
240
|
-
311,
|
241
|
-
'<client> <nick> <username> <host> * :<realname>',
|
242
|
-
)
|
243
|
-
|
244
|
-
RPL_WHOISSERVER = _register_numeric_reply(
|
245
|
-
'RPL_WHOISSERVER',
|
246
|
-
312,
|
247
|
-
'<client> <nick> <server> :<server info>',
|
248
|
-
)
|
249
|
-
|
250
|
-
RPL_WHOISOPERATOR = _register_numeric_reply(
|
251
|
-
'RPL_WHOISOPERATOR',
|
252
|
-
313,
|
253
|
-
'<client> <nick> :is an IRC operator',
|
254
|
-
)
|
255
|
-
|
256
|
-
RPL_WHOWASUSER = _register_numeric_reply(
|
257
|
-
'RPL_WHOWASUSER',
|
258
|
-
314,
|
259
|
-
'<client> <nick> <username> <host> * :<realname>',
|
260
|
-
)
|
261
|
-
|
262
|
-
RPL_ENDOFWHO = _register_numeric_reply(
|
263
|
-
'RPL_ENDOFWHO',
|
264
|
-
315,
|
265
|
-
'<client> <mask> :End of WHO list',
|
266
|
-
)
|
267
|
-
|
268
|
-
RPL_WHOISIDLE = _register_numeric_reply(
|
269
|
-
'RPL_WHOISIDLE',
|
270
|
-
317,
|
271
|
-
'<client> <nick> <secs> <signon> :seconds idle, signon time',
|
272
|
-
)
|
273
|
-
|
274
|
-
RPL_ENDOFWHOIS = _register_numeric_reply(
|
275
|
-
'RPL_ENDOFWHOIS',
|
276
|
-
318,
|
277
|
-
'<client> <nick> :End of /WHOIS list',
|
278
|
-
)
|
279
|
-
|
280
|
-
RPL_WHOISCHANNELS = _register_numeric_reply(
|
281
|
-
'RPL_WHOISCHANNELS',
|
282
|
-
319,
|
283
|
-
'<client> <nick> :[prefix]<channel>{ [prefix]<channel>}',
|
284
|
-
)
|
285
|
-
|
286
|
-
RPL_WHOISSPECIAL = _register_numeric_reply(
|
287
|
-
'RPL_WHOISSPECIAL',
|
288
|
-
320,
|
289
|
-
'<client> <nick> :blah blah blah',
|
290
|
-
)
|
291
|
-
|
292
|
-
RPL_LISTSTART = _register_numeric_reply(
|
293
|
-
'RPL_LISTSTART',
|
294
|
-
321,
|
295
|
-
'<client> Channel :Users Name',
|
296
|
-
)
|
297
|
-
|
298
|
-
RPL_LIST = _register_numeric_reply(
|
299
|
-
'RPL_LIST',
|
300
|
-
322,
|
301
|
-
'<client> <channel> <client count> :<topic>',
|
302
|
-
)
|
303
|
-
|
304
|
-
RPL_LISTEND = _register_numeric_reply(
|
305
|
-
'RPL_LISTEND',
|
306
|
-
323,
|
307
|
-
'<client> :End of /LIST',
|
308
|
-
)
|
309
|
-
|
310
|
-
RPL_CHANNELMODEIS = _register_numeric_reply(
|
311
|
-
'RPL_CHANNELMODEIS',
|
312
|
-
324,
|
313
|
-
'<client> <channel> <modestring> <mode arguments>...',
|
314
|
-
)
|
315
|
-
|
316
|
-
RPL_CREATIONTIME = _register_numeric_reply(
|
317
|
-
'RPL_CREATIONTIME',
|
318
|
-
329,
|
319
|
-
'<client> <channel> <creationtime>',
|
320
|
-
)
|
321
|
-
|
322
|
-
RPL_WHOISACCOUNT = _register_numeric_reply(
|
323
|
-
'RPL_WHOISACCOUNT',
|
324
|
-
330,
|
325
|
-
'<client> <nick> <account> :is logged in as',
|
326
|
-
)
|
327
|
-
|
328
|
-
RPL_NOTOPIC = _register_numeric_reply(
|
329
|
-
'RPL_NOTOPIC',
|
330
|
-
331,
|
331
|
-
'<client> <channel> :No topic is set',
|
332
|
-
)
|
333
|
-
|
334
|
-
RPL_TOPIC = _register_numeric_reply(
|
335
|
-
'RPL_TOPIC',
|
336
|
-
332,
|
337
|
-
'<client> <channel> :<topic>',
|
338
|
-
)
|
339
|
-
|
340
|
-
RPL_TOPICWHOTIME = _register_numeric_reply(
|
341
|
-
'RPL_TOPICWHOTIME',
|
342
|
-
333,
|
343
|
-
'<client> <channel> <nick> <setat>',
|
344
|
-
)
|
345
|
-
|
346
|
-
RPL_INVITELIST = _register_numeric_reply(
|
347
|
-
'RPL_INVITELIST',
|
348
|
-
336,
|
349
|
-
'<client> <channel>',
|
350
|
-
)
|
351
|
-
|
352
|
-
RPL_ENDOFINVITELIST = _register_numeric_reply(
|
353
|
-
'RPL_ENDOFINVITELIST',
|
354
|
-
337,
|
355
|
-
'<client> :End of /INVITE list',
|
356
|
-
)
|
357
|
-
|
358
|
-
RPL_WHOISACTUALLY = _register_numeric_reply(
|
359
|
-
'RPL_WHOISACTUALLY',
|
360
|
-
338,
|
361
|
-
'<client> <nick> :is actually ...',
|
362
|
-
'<client> <nick> <host|ip> :Is actually using host',
|
363
|
-
'<client> <nick> <username>@<hostname> <ip> :Is actually using host',
|
364
|
-
)
|
365
|
-
|
366
|
-
RPL_INVITING = _register_numeric_reply(
|
367
|
-
'RPL_INVITING',
|
368
|
-
341,
|
369
|
-
'<client> <nick> <channel>',
|
370
|
-
)
|
371
|
-
|
372
|
-
RPL_INVEXLIST = _register_numeric_reply(
|
373
|
-
'RPL_INVEXLIST',
|
374
|
-
346,
|
375
|
-
'<client> <channel> <mask>',
|
376
|
-
)
|
377
|
-
|
378
|
-
RPL_ENDOFINVEXLIST = _register_numeric_reply(
|
379
|
-
'RPL_ENDOFINVEXLIST',
|
380
|
-
347,
|
381
|
-
'<client> <channel> :End of Channel Invite Exception List',
|
382
|
-
)
|
383
|
-
RPL_EXCEPTLIST = _register_numeric_reply(
|
384
|
-
'RPL_EXCEPTLIST',
|
385
|
-
348,
|
386
|
-
'<client> <channel> <mask>',
|
387
|
-
)
|
388
|
-
|
389
|
-
RPL_ENDOFEXCEPTLIST = _register_numeric_reply(
|
390
|
-
'RPL_ENDOFEXCEPTLIST',
|
391
|
-
349,
|
392
|
-
'<client> <channel> :End of channel exception list',
|
393
|
-
)
|
394
|
-
|
395
|
-
RPL_VERSION = _register_numeric_reply(
|
396
|
-
'RPL_VERSION',
|
397
|
-
351,
|
398
|
-
'<client> <version> <server> :<comments>',
|
399
|
-
)
|
400
|
-
|
401
|
-
RPL_WHOREPLY = _register_numeric_reply(
|
402
|
-
'RPL_WHOREPLY',
|
403
|
-
352,
|
404
|
-
'<client> <channel> <username> <host> <server> <nick> <flags> :<hopcount> <realname>',
|
405
|
-
)
|
406
|
-
RPL_NAMREPLY = _register_numeric_reply(
|
407
|
-
'RPL_NAMREPLY',
|
408
|
-
353,
|
409
|
-
'<client> <symbol> <channel> :[prefix]<nick>{ [prefix]<nick>}',
|
410
|
-
)
|
411
|
-
|
412
|
-
RPL_LINKS = _register_numeric_reply(
|
413
|
-
'RPL_LINKS',
|
414
|
-
364,
|
415
|
-
'<client> * <server> :<hopcount> <server info>',
|
416
|
-
)
|
417
|
-
|
418
|
-
RPL_ENDOFLINKS = _register_numeric_reply(
|
419
|
-
'RPL_ENDOFLINKS',
|
420
|
-
365,
|
421
|
-
'<client> * :End of /LINKS list',
|
422
|
-
)
|
423
|
-
|
424
|
-
RPL_ENDOFNAMES = _register_numeric_reply(
|
425
|
-
'RPL_ENDOFNAMES',
|
426
|
-
366,
|
427
|
-
'<client> <channel> :End of /NAMES list',
|
428
|
-
)
|
429
|
-
|
430
|
-
RPL_BANLIST = _register_numeric_reply(
|
431
|
-
'RPL_BANLIST',
|
432
|
-
367,
|
433
|
-
'<client> <channel> <mask> [<who> <set-ts>]',
|
434
|
-
)
|
435
|
-
|
436
|
-
RPL_ENDOFBANLIST = _register_numeric_reply(
|
437
|
-
'RPL_ENDOFBANLIST',
|
438
|
-
368,
|
439
|
-
'<client> <channel> :End of channel ban list',
|
440
|
-
)
|
441
|
-
|
442
|
-
RPL_ENDOFWHOWAS = _register_numeric_reply(
|
443
|
-
'RPL_ENDOFWHOWAS',
|
444
|
-
369,
|
445
|
-
'<client> <nick> :End of WHOWAS',
|
446
|
-
)
|
447
|
-
|
448
|
-
RPL_INFO = _register_numeric_reply(
|
449
|
-
'RPL_INFO',
|
450
|
-
371,
|
451
|
-
'<client> :<string>',
|
452
|
-
)
|
453
|
-
|
454
|
-
RPL_MOTD = _register_numeric_reply(
|
455
|
-
'RPL_MOTD',
|
456
|
-
372,
|
457
|
-
'<client> :<line of the motd>',
|
458
|
-
)
|
459
|
-
|
460
|
-
RPL_ENDOFINFO = _register_numeric_reply(
|
461
|
-
'RPL_ENDOFINFO',
|
462
|
-
374,
|
463
|
-
'<client> :End of INFO list',
|
464
|
-
)
|
465
|
-
|
466
|
-
RPL_MOTDSTART = _register_numeric_reply(
|
467
|
-
'RPL_MOTDSTART',
|
468
|
-
375,
|
469
|
-
'<client> :- <server> Message of the day - ',
|
470
|
-
)
|
471
|
-
|
472
|
-
RPL_ENDOFMOTD = _register_numeric_reply(
|
473
|
-
'RPL_ENDOFMOTD',
|
474
|
-
376,
|
475
|
-
'<client> :End of /MOTD command.',
|
476
|
-
)
|
477
|
-
|
478
|
-
RPL_WHOISHOST = _register_numeric_reply(
|
479
|
-
'RPL_WHOISHOST',
|
480
|
-
378,
|
481
|
-
'<client> <nick> :is connecting from *@localhost 127.0.0.1',
|
482
|
-
)
|
483
|
-
|
484
|
-
RPL_WHOISMODES = _register_numeric_reply(
|
485
|
-
'RPL_WHOISMODES',
|
486
|
-
379,
|
487
|
-
'<client> <nick> :is using modes +ailosw',
|
488
|
-
)
|
489
|
-
|
490
|
-
RPL_YOUREOPER = _register_numeric_reply(
|
491
|
-
'RPL_YOUREOPER',
|
492
|
-
381,
|
493
|
-
'<client> :You are now an IRC operator',
|
494
|
-
)
|
495
|
-
|
496
|
-
RPL_REHASHING = _register_numeric_reply(
|
497
|
-
'RPL_REHASHING',
|
498
|
-
382,
|
499
|
-
'<client> <config file> :Rehashing',
|
500
|
-
)
|
501
|
-
|
502
|
-
RPL_TIME = _register_numeric_reply(
|
503
|
-
'RPL_TIME',
|
504
|
-
391,
|
505
|
-
'<client> <server> [<timestamp> [<TS offset>]] :<human-readable time>',
|
506
|
-
)
|
507
|
-
|
508
|
-
#
|
509
|
-
|
510
|
-
ERR_UNKNOWNERROR = _register_numeric_reply(
|
511
|
-
'ERR_UNKNOWNERROR',
|
512
|
-
400,
|
513
|
-
'<client> <command>{ <subcommand>} :<info>',
|
514
|
-
)
|
515
|
-
|
516
|
-
ERR_NOSUCHNICK = _register_numeric_reply(
|
517
|
-
'ERR_NOSUCHNICK',
|
518
|
-
401,
|
519
|
-
'<client> <nickname> :No such nick/channel',
|
520
|
-
)
|
521
|
-
|
522
|
-
ERR_NOSUCHSERVER = _register_numeric_reply(
|
523
|
-
'ERR_NOSUCHSERVER',
|
524
|
-
402,
|
525
|
-
'<client> <server name> :No such server',
|
526
|
-
)
|
527
|
-
|
528
|
-
ERR_NOSUCHCHANNEL = _register_numeric_reply(
|
529
|
-
'ERR_NOSUCHCHANNEL',
|
530
|
-
403,
|
531
|
-
'<client> <channel> :No such channel',
|
532
|
-
)
|
533
|
-
|
534
|
-
ERR_CANNOTSENDTOCHAN = _register_numeric_reply(
|
535
|
-
'ERR_CANNOTSENDTOCHAN',
|
536
|
-
404,
|
537
|
-
'<client> <channel> :Cannot send to channel',
|
538
|
-
)
|
539
|
-
|
540
|
-
ERR_TOOMANYCHANNELS = _register_numeric_reply(
|
541
|
-
'ERR_TOOMANYCHANNELS',
|
542
|
-
405,
|
543
|
-
'<client> <channel> :You have joined too many channels',
|
544
|
-
)
|
545
|
-
|
546
|
-
ERR_WASNOSUCHNICK = _register_numeric_reply(
|
547
|
-
'ERR_WASNOSUCHNICK',
|
548
|
-
406,
|
549
|
-
'<client> <nickname> :There was no such nickname',
|
550
|
-
)
|
551
|
-
|
552
|
-
ERR_TOOMANYTARGETS = _register_numeric_reply(
|
553
|
-
'ERR_TOOMANYTARGETS',
|
554
|
-
407,
|
555
|
-
'<target> :<error code> recipients. <abort message>',
|
556
|
-
)
|
557
|
-
|
558
|
-
ERR_NOORIGIN = _register_numeric_reply(
|
559
|
-
'ERR_NOORIGIN',
|
560
|
-
409,
|
561
|
-
'<client> :No origin specified',
|
562
|
-
)
|
563
|
-
|
564
|
-
ERR_NORECIPIENT = _register_numeric_reply(
|
565
|
-
'ERR_NORECIPIENT',
|
566
|
-
411,
|
567
|
-
'<client> :No recipient given (<command>)',
|
568
|
-
)
|
569
|
-
|
570
|
-
ERR_NOTEXTTOSEND = _register_numeric_reply(
|
571
|
-
'ERR_NOTEXTTOSEND',
|
572
|
-
412,
|
573
|
-
'<client> :No text to send',
|
574
|
-
)
|
575
|
-
|
576
|
-
ERR_NOTOPLEVEL = _register_numeric_reply(
|
577
|
-
'ERR_NOTOPLEVEL',
|
578
|
-
413,
|
579
|
-
'<mask> :No toplevel domain specified',
|
580
|
-
)
|
581
|
-
|
582
|
-
ERR_WILDTOPLEVEL = _register_numeric_reply(
|
583
|
-
'ERR_WILDTOPLEVEL',
|
584
|
-
414,
|
585
|
-
'<mask> :Wildcard in toplevel domain',
|
586
|
-
)
|
587
|
-
|
588
|
-
ERR_INPUTTOOLONG = _register_numeric_reply(
|
589
|
-
'ERR_INPUTTOOLONG',
|
590
|
-
417,
|
591
|
-
'<client> :Input line was too long',
|
592
|
-
)
|
593
|
-
|
594
|
-
ERR_UNKNOWNCOMMAND = _register_numeric_reply(
|
595
|
-
'ERR_UNKNOWNCOMMAND',
|
596
|
-
421,
|
597
|
-
'<client> <command> :Unknown command',
|
598
|
-
)
|
599
|
-
|
600
|
-
ERR_NOMOTD = _register_numeric_reply(
|
601
|
-
'ERR_NOMOTD',
|
602
|
-
422,
|
603
|
-
'<client> :MOTD File is missing',
|
604
|
-
)
|
605
|
-
|
606
|
-
ERR_NONICKNAMEGIVEN = _register_numeric_reply(
|
607
|
-
'ERR_NONICKNAMEGIVEN',
|
608
|
-
431,
|
609
|
-
'<client> :No nickname given',
|
610
|
-
)
|
611
|
-
|
612
|
-
ERR_ERRONEUSNICKNAME = _register_numeric_reply(
|
613
|
-
'ERR_ERRONEUSNICKNAME',
|
614
|
-
432,
|
615
|
-
'<client> <nick> :Erroneus nickname',
|
616
|
-
)
|
617
|
-
|
618
|
-
ERR_NICKNAMEINUSE = _register_numeric_reply(
|
619
|
-
'ERR_NICKNAMEINUSE',
|
620
|
-
433,
|
621
|
-
'<client> <nick> :Nickname is already in use',
|
622
|
-
)
|
623
|
-
|
624
|
-
ERR_NICKCOLLISION = _register_numeric_reply(
|
625
|
-
'ERR_NICKCOLLISION',
|
626
|
-
436,
|
627
|
-
'<client> <nick> :Nickname collision KILL from <user>@<host>',
|
628
|
-
)
|
629
|
-
|
630
|
-
ERR_USERNOTINCHANNEL = _register_numeric_reply(
|
631
|
-
'ERR_USERNOTINCHANNEL',
|
632
|
-
441,
|
633
|
-
"<client> <nick> <channel> :They aren't on that channel",
|
634
|
-
)
|
635
|
-
|
636
|
-
ERR_NOTONCHANNEL = _register_numeric_reply(
|
637
|
-
'ERR_NOTONCHANNEL',
|
638
|
-
442,
|
639
|
-
"<client> <channel> :You're not on that channel",
|
640
|
-
)
|
641
|
-
|
642
|
-
ERR_USERONCHANNEL = _register_numeric_reply(
|
643
|
-
'ERR_USERONCHANNEL',
|
644
|
-
443,
|
645
|
-
'<client> <nick> <channel> :is already on channel',
|
646
|
-
)
|
647
|
-
|
648
|
-
ERR_NOTREGISTERED = _register_numeric_reply(
|
649
|
-
'ERR_NOTREGISTERED',
|
650
|
-
451,
|
651
|
-
'<client> :You have not registered',
|
652
|
-
)
|
653
|
-
|
654
|
-
ERR_NEEDMOREPARAMS = _register_numeric_reply(
|
655
|
-
'ERR_NEEDMOREPARAMS',
|
656
|
-
461,
|
657
|
-
'<client> <command> :Not enough parameters',
|
658
|
-
)
|
659
|
-
|
660
|
-
ERR_ALREADYREGISTERED = _register_numeric_reply(
|
661
|
-
'ERR_ALREADYREGISTERED',
|
662
|
-
462,
|
663
|
-
'<client> :You may not reregister',
|
664
|
-
)
|
665
|
-
|
666
|
-
ERR_PASSWDMISMATCH = _register_numeric_reply(
|
667
|
-
'ERR_PASSWDMISMATCH',
|
668
|
-
464,
|
669
|
-
'<client> :Password incorrect',
|
670
|
-
)
|
671
|
-
|
672
|
-
ERR_YOUREBANNEDCREEP = _register_numeric_reply(
|
673
|
-
'ERR_YOUREBANNEDCREEP',
|
674
|
-
465,
|
675
|
-
'<client> :You are banned from this server.',
|
676
|
-
)
|
677
|
-
|
678
|
-
ERR_CHANNELISFULL = _register_numeric_reply(
|
679
|
-
'ERR_CHANNELISFULL',
|
680
|
-
471,
|
681
|
-
'<client> <channel> :Cannot join channel (+l)',
|
682
|
-
)
|
683
|
-
|
684
|
-
ERR_UNKNOWNMODE = _register_numeric_reply(
|
685
|
-
'ERR_UNKNOWNMODE',
|
686
|
-
472,
|
687
|
-
'<client> <modechar> :is unknown mode char to me',
|
688
|
-
)
|
689
|
-
|
690
|
-
ERR_INVITEONLYCHAN = _register_numeric_reply(
|
691
|
-
'ERR_INVITEONLYCHAN',
|
692
|
-
473,
|
693
|
-
'<client> <channel> :Cannot join channel (+i)',
|
694
|
-
)
|
695
|
-
|
696
|
-
ERR_BANNEDFROMCHAN = _register_numeric_reply(
|
697
|
-
'ERR_BANNEDFROMCHAN',
|
698
|
-
474,
|
699
|
-
'<client> <channel> :Cannot join channel (+b)',
|
700
|
-
)
|
701
|
-
|
702
|
-
ERR_BADCHANNELKEY = _register_numeric_reply(
|
703
|
-
'ERR_BADCHANNELKEY',
|
704
|
-
475,
|
705
|
-
'<client> <channel> :Cannot join channel (+k)',
|
706
|
-
)
|
707
|
-
|
708
|
-
ERR_BADCHANMASK = _register_numeric_reply(
|
709
|
-
'ERR_BADCHANMASK',
|
710
|
-
476,
|
711
|
-
'<channel> :Bad Channel Mask',
|
712
|
-
)
|
713
|
-
|
714
|
-
ERR_NOPRIVILEGES = _register_numeric_reply(
|
715
|
-
'ERR_NOPRIVILEGES',
|
716
|
-
481,
|
717
|
-
"<client> :Permission Denied- You're not an IRC operator",
|
718
|
-
)
|
719
|
-
|
720
|
-
ERR_CHANOPRIVSNEEDED = _register_numeric_reply(
|
721
|
-
'ERR_CHANOPRIVSNEEDED',
|
722
|
-
482,
|
723
|
-
"<client> <channel> :You're not channel operator",
|
724
|
-
)
|
725
|
-
|
726
|
-
ERR_CANTKILLSERVER = _register_numeric_reply(
|
727
|
-
'ERR_CANTKILLSERVER',
|
728
|
-
483,
|
729
|
-
'<client> :You cant kill a server!',
|
730
|
-
)
|
731
|
-
|
732
|
-
ERR_NOOPERHOST = _register_numeric_reply(
|
733
|
-
'ERR_NOOPERHOST',
|
734
|
-
491,
|
735
|
-
'<client> :No O-lines for your host',
|
736
|
-
)
|
737
|
-
|
738
|
-
ERR_NOSERVICEHOST = _register_numeric_reply('ERR_NOSERVICEHOST', 492)
|
739
|
-
|
740
|
-
ERR_UMODEUNKNOWNFLAG = _register_numeric_reply(
|
741
|
-
'ERR_UMODEUNKNOWNFLAG',
|
742
|
-
501,
|
743
|
-
'<client> :Unknown MODE flag',
|
744
|
-
)
|
745
|
-
|
746
|
-
ERR_USERSDONTMATCH = _register_numeric_reply(
|
747
|
-
'ERR_USERSDONTMATCH',
|
748
|
-
502,
|
749
|
-
'<client> :Cant change mode for other users',
|
750
|
-
)
|
751
|
-
|
752
|
-
ERR_HELPNOTFOUND = _register_numeric_reply(
|
753
|
-
'ERR_HELPNOTFOUND',
|
754
|
-
524,
|
755
|
-
'<client> <subject> :No help available on this topic',
|
756
|
-
)
|
757
|
-
|
758
|
-
ERR_INVALIDKEY = _register_numeric_reply(
|
759
|
-
'ERR_INVALIDKEY',
|
760
|
-
525,
|
761
|
-
)
|
762
|
-
|
763
|
-
RPL_STARTTLS = _register_numeric_reply(
|
764
|
-
'RPL_STARTTLS',
|
765
|
-
670,
|
766
|
-
'<client> :STARTTLS successful, proceed with TLS handshake',
|
767
|
-
)
|
768
|
-
|
769
|
-
RPL_WHOISSECURE = _register_numeric_reply(
|
770
|
-
'RPL_WHOISSECURE',
|
771
|
-
671,
|
772
|
-
'<client> <nick> :is using a secure connection',
|
773
|
-
)
|
774
|
-
|
775
|
-
ERR_STARTTLS = _register_numeric_reply(
|
776
|
-
'ERR_STARTTLS',
|
777
|
-
691,
|
778
|
-
'<client> :STARTTLS failed (Wrong moon phase)',
|
779
|
-
)
|
780
|
-
|
781
|
-
ERR_INVALIDMODEPARAM = _register_numeric_reply(
|
782
|
-
'ERR_INVALIDMODEPARAM',
|
783
|
-
696,
|
784
|
-
)
|
785
|
-
|
786
|
-
RPL_HELPSTART = _register_numeric_reply(
|
787
|
-
'RPL_HELPSTART',
|
788
|
-
704,
|
789
|
-
)
|
790
|
-
|
791
|
-
RPL_HELPTXT = _register_numeric_reply(
|
792
|
-
'RPL_HELPTXT',
|
793
|
-
705,
|
794
|
-
)
|
795
|
-
|
796
|
-
RPL_ENDOFHELP = _register_numeric_reply(
|
797
|
-
'RPL_ENDOFHELP',
|
798
|
-
706,
|
799
|
-
)
|
800
|
-
|
801
|
-
ERR_NOPRIVS = _register_numeric_reply(
|
802
|
-
'ERR_NOPRIVS',
|
803
|
-
723,
|
804
|
-
'<client> <priv> :Insufficient oper privileges.',
|
805
|
-
)
|
806
|
-
|
807
|
-
RPL_LOGGEDIN = _register_numeric_reply(
|
808
|
-
'RPL_LOGGEDIN',
|
809
|
-
900,
|
810
|
-
'<client> <nick>!<user>@<host> <account> :You are now logged in as <username>',
|
811
|
-
)
|
812
|
-
|
813
|
-
RPL_LOGGEDOUT = _register_numeric_reply(
|
814
|
-
'RPL_LOGGEDOUT',
|
815
|
-
901,
|
816
|
-
'<client> <nick>!<user>@<host> :You are now logged out',
|
817
|
-
)
|
818
|
-
|
819
|
-
ERR_NICKLOCKED = _register_numeric_reply(
|
820
|
-
'ERR_NICKLOCKED',
|
821
|
-
902,
|
822
|
-
'<client> :You must use a nick assigned to you',
|
823
|
-
)
|
824
|
-
|
825
|
-
RPL_SASLSUCCESS = _register_numeric_reply(
|
826
|
-
'RPL_SASLSUCCESS',
|
827
|
-
903,
|
828
|
-
'<client> :SASL authentication successful',
|
829
|
-
)
|
830
|
-
|
831
|
-
ERR_SASLFAIL = _register_numeric_reply(
|
832
|
-
'ERR_SASLFAIL',
|
833
|
-
904,
|
834
|
-
'<client> :SASL authentication failed',
|
835
|
-
)
|
836
|
-
|
837
|
-
ERR_SASLTOOLONG = _register_numeric_reply(
|
838
|
-
'ERR_SASLTOOLONG',
|
839
|
-
905,
|
840
|
-
'<client> :SASL message too long',
|
841
|
-
)
|
842
|
-
|
843
|
-
ERR_SASLABORTED = _register_numeric_reply(
|
844
|
-
'ERR_SASLABORTED',
|
845
|
-
906,
|
846
|
-
'<client> :SASL authentication aborted',
|
847
|
-
)
|
848
|
-
|
849
|
-
ERR_SASLALREADY = _register_numeric_reply(
|
850
|
-
'ERR_SASLALREADY',
|
851
|
-
907,
|
852
|
-
'<client> :You have already authenticated using SASL',
|
853
|
-
)
|
854
|
-
|
855
|
-
RPL_SASLMECHS = _register_numeric_reply(
|
856
|
-
'RPL_SASLMECHS',
|
857
|
-
908,
|
858
|
-
'<client> <mechanisms> :are available SASL mechanisms',
|
859
|
-
)
|
860
|
-
|
861
|
-
|
862
|
-
##
|
863
|
-
|
864
|
-
|
865
|
-
NUMERIC_REPLIES = NumericReplies(_REGISTERED_NUMERIC_REPLIES)
|