@alemonjs/qq-bot 0.0.9 → 0.0.10

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.
Files changed (40) hide show
  1. package/dist/assets/index.css +476 -0
  2. package/dist/assets/index.js +11032 -0
  3. package/dist/index.html +15 -0
  4. package/lib/api.d.ts +971 -843
  5. package/lib/api.js +1172 -1156
  6. package/lib/client.d.ts +22 -22
  7. package/lib/client.js +201 -217
  8. package/lib/config.js +2 -2
  9. package/lib/desktop.d.ts +2 -2
  10. package/lib/desktop.js +60 -59
  11. package/lib/from.js +27 -34
  12. package/lib/index.d.ts +7 -7
  13. package/lib/index.js +406 -405
  14. package/lib/message/AT_MESSAGE_CREATE.d.ts +35 -35
  15. package/lib/message/C2C_MESSAGE_CREATE.d.ts +9 -9
  16. package/lib/message/CHANNEL_CREATE.d.ts +15 -15
  17. package/lib/message/CHANNEL_DELETE.d.ts +15 -15
  18. package/lib/message/CHANNEL_UPDATE.d.ts +15 -15
  19. package/lib/message/DIRECT_MESSAGE_CREATE.d.ts +29 -29
  20. package/lib/message/DIRECT_MESSAGE_DELETE.d.ts +17 -17
  21. package/lib/message/ERROR.d.ts +2 -2
  22. package/lib/message/GROUP_AT_MESSAGE_CREATE.d.ts +10 -10
  23. package/lib/message/GUILD_CREATE.d.ts +15 -15
  24. package/lib/message/GUILD_DELETE.d.ts +15 -15
  25. package/lib/message/GUILD_MEMBER_ADD.d.ts +14 -14
  26. package/lib/message/GUILD_MEMBER_REMOVE.d.ts +14 -14
  27. package/lib/message/GUILD_MEMBER_UPDATE.d.ts +14 -14
  28. package/lib/message/GUILD_UPDATE.d.ts +15 -15
  29. package/lib/message/INTERACTION_CREATE.d.ts +2 -2
  30. package/lib/message/MESSAGE_CREATE.d.ts +2 -2
  31. package/lib/message/MESSAGE_DELETE.d.ts +2 -2
  32. package/lib/message/MESSAGE_REACTION_ADD.d.ts +13 -13
  33. package/lib/message/MESSAGE_REACTION_REMOVE.d.ts +13 -13
  34. package/lib/message/PUBLIC_MESSAGE_DELETE.d.ts +15 -15
  35. package/lib/message/READY.d.ts +6 -6
  36. package/lib/message.d.ts +46 -46
  37. package/lib/send/index.js +230 -192
  38. package/lib/typing.d.ts +62 -54
  39. package/lib/webhook.js +46 -48
  40. package/package.json +1 -1
@@ -0,0 +1,476 @@
1
+ *,
2
+ :before,
3
+ :after {
4
+ --tw-border-spacing-x: 0;
5
+ --tw-border-spacing-y: 0;
6
+ --tw-translate-x: 0;
7
+ --tw-translate-y: 0;
8
+ --tw-rotate: 0;
9
+ --tw-skew-x: 0;
10
+ --tw-skew-y: 0;
11
+ --tw-scale-x: 1;
12
+ --tw-scale-y: 1;
13
+ --tw-pan-x: ;
14
+ --tw-pan-y: ;
15
+ --tw-pinch-zoom: ;
16
+ --tw-scroll-snap-strictness: proximity;
17
+ --tw-gradient-from-position: ;
18
+ --tw-gradient-via-position: ;
19
+ --tw-gradient-to-position: ;
20
+ --tw-ordinal: ;
21
+ --tw-slashed-zero: ;
22
+ --tw-numeric-figure: ;
23
+ --tw-numeric-spacing: ;
24
+ --tw-numeric-fraction: ;
25
+ --tw-ring-inset: ;
26
+ --tw-ring-offset-width: 0px;
27
+ --tw-ring-offset-color: #fff;
28
+ --tw-ring-color: rgb(59 130 246 / 0.5);
29
+ --tw-ring-offset-shadow: 0 0 #0000;
30
+ --tw-ring-shadow: 0 0 #0000;
31
+ --tw-shadow: 0 0 #0000;
32
+ --tw-shadow-colored: 0 0 #0000;
33
+ --tw-blur: ;
34
+ --tw-brightness: ;
35
+ --tw-contrast: ;
36
+ --tw-grayscale: ;
37
+ --tw-hue-rotate: ;
38
+ --tw-invert: ;
39
+ --tw-saturate: ;
40
+ --tw-sepia: ;
41
+ --tw-drop-shadow: ;
42
+ --tw-backdrop-blur: ;
43
+ --tw-backdrop-brightness: ;
44
+ --tw-backdrop-contrast: ;
45
+ --tw-backdrop-grayscale: ;
46
+ --tw-backdrop-hue-rotate: ;
47
+ --tw-backdrop-invert: ;
48
+ --tw-backdrop-opacity: ;
49
+ --tw-backdrop-saturate: ;
50
+ --tw-backdrop-sepia: ;
51
+ --tw-contain-size: ;
52
+ --tw-contain-layout: ;
53
+ --tw-contain-paint: ;
54
+ --tw-contain-style: ;
55
+ }
56
+ ::backdrop {
57
+ --tw-border-spacing-x: 0;
58
+ --tw-border-spacing-y: 0;
59
+ --tw-translate-x: 0;
60
+ --tw-translate-y: 0;
61
+ --tw-rotate: 0;
62
+ --tw-skew-x: 0;
63
+ --tw-skew-y: 0;
64
+ --tw-scale-x: 1;
65
+ --tw-scale-y: 1;
66
+ --tw-pan-x: ;
67
+ --tw-pan-y: ;
68
+ --tw-pinch-zoom: ;
69
+ --tw-scroll-snap-strictness: proximity;
70
+ --tw-gradient-from-position: ;
71
+ --tw-gradient-via-position: ;
72
+ --tw-gradient-to-position: ;
73
+ --tw-ordinal: ;
74
+ --tw-slashed-zero: ;
75
+ --tw-numeric-figure: ;
76
+ --tw-numeric-spacing: ;
77
+ --tw-numeric-fraction: ;
78
+ --tw-ring-inset: ;
79
+ --tw-ring-offset-width: 0px;
80
+ --tw-ring-offset-color: #fff;
81
+ --tw-ring-color: rgb(59 130 246 / 0.5);
82
+ --tw-ring-offset-shadow: 0 0 #0000;
83
+ --tw-ring-shadow: 0 0 #0000;
84
+ --tw-shadow: 0 0 #0000;
85
+ --tw-shadow-colored: 0 0 #0000;
86
+ --tw-blur: ;
87
+ --tw-brightness: ;
88
+ --tw-contrast: ;
89
+ --tw-grayscale: ;
90
+ --tw-hue-rotate: ;
91
+ --tw-invert: ;
92
+ --tw-saturate: ;
93
+ --tw-sepia: ;
94
+ --tw-drop-shadow: ;
95
+ --tw-backdrop-blur: ;
96
+ --tw-backdrop-brightness: ;
97
+ --tw-backdrop-contrast: ;
98
+ --tw-backdrop-grayscale: ;
99
+ --tw-backdrop-hue-rotate: ;
100
+ --tw-backdrop-invert: ;
101
+ --tw-backdrop-opacity: ;
102
+ --tw-backdrop-saturate: ;
103
+ --tw-backdrop-sepia: ;
104
+ --tw-contain-size: ;
105
+ --tw-contain-layout: ;
106
+ --tw-contain-paint: ;
107
+ --tw-contain-style: ;
108
+ }
109
+ *,
110
+ :before,
111
+ :after {
112
+ box-sizing: border-box;
113
+ border-width: 0;
114
+ border-style: solid;
115
+ border-color: #e5e7eb;
116
+ }
117
+ :before,
118
+ :after {
119
+ --tw-content: '';
120
+ }
121
+ html,
122
+ :host {
123
+ line-height: 1.5;
124
+ -webkit-text-size-adjust: 100%;
125
+ -moz-tab-size: 4;
126
+ -o-tab-size: 4;
127
+ tab-size: 4;
128
+ font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
129
+ Segoe UI Symbol, 'Noto Color Emoji';
130
+ font-feature-settings: normal;
131
+ font-variation-settings: normal;
132
+ -webkit-tap-highlight-color: transparent;
133
+ }
134
+ body {
135
+ margin: 0;
136
+ line-height: inherit;
137
+ }
138
+ hr {
139
+ height: 0;
140
+ color: inherit;
141
+ border-top-width: 1px;
142
+ }
143
+ abbr:where([title]) {
144
+ -webkit-text-decoration: underline dotted;
145
+ text-decoration: underline dotted;
146
+ }
147
+ h1,
148
+ h2,
149
+ h3,
150
+ h4,
151
+ h5,
152
+ h6 {
153
+ font-size: inherit;
154
+ font-weight: inherit;
155
+ }
156
+ a {
157
+ color: inherit;
158
+ text-decoration: inherit;
159
+ }
160
+ b,
161
+ strong {
162
+ font-weight: bolder;
163
+ }
164
+ code,
165
+ kbd,
166
+ samp,
167
+ pre {
168
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New,
169
+ monospace;
170
+ font-feature-settings: normal;
171
+ font-variation-settings: normal;
172
+ font-size: 1em;
173
+ }
174
+ small {
175
+ font-size: 80%;
176
+ }
177
+ sub,
178
+ sup {
179
+ font-size: 75%;
180
+ line-height: 0;
181
+ position: relative;
182
+ vertical-align: baseline;
183
+ }
184
+ sub {
185
+ bottom: -0.25em;
186
+ }
187
+ sup {
188
+ top: -0.5em;
189
+ }
190
+ table {
191
+ text-indent: 0;
192
+ border-color: inherit;
193
+ border-collapse: collapse;
194
+ }
195
+ button,
196
+ input,
197
+ optgroup,
198
+ select,
199
+ textarea {
200
+ font-family: inherit;
201
+ font-feature-settings: inherit;
202
+ font-variation-settings: inherit;
203
+ font-size: 100%;
204
+ font-weight: inherit;
205
+ line-height: inherit;
206
+ letter-spacing: inherit;
207
+ color: inherit;
208
+ margin: 0;
209
+ padding: 0;
210
+ }
211
+ button,
212
+ select {
213
+ text-transform: none;
214
+ }
215
+ button,
216
+ input:where([type='button']),
217
+ input:where([type='reset']),
218
+ input:where([type='submit']) {
219
+ -webkit-appearance: button;
220
+ background-color: transparent;
221
+ background-image: none;
222
+ }
223
+ :-moz-focusring {
224
+ outline: auto;
225
+ }
226
+ :-moz-ui-invalid {
227
+ box-shadow: none;
228
+ }
229
+ progress {
230
+ vertical-align: baseline;
231
+ }
232
+ ::-webkit-inner-spin-button,
233
+ ::-webkit-outer-spin-button {
234
+ height: auto;
235
+ }
236
+ [type='search'] {
237
+ -webkit-appearance: textfield;
238
+ outline-offset: -2px;
239
+ }
240
+ ::-webkit-search-decoration {
241
+ -webkit-appearance: none;
242
+ }
243
+ ::-webkit-file-upload-button {
244
+ -webkit-appearance: button;
245
+ font: inherit;
246
+ }
247
+ summary {
248
+ display: list-item;
249
+ }
250
+ blockquote,
251
+ dl,
252
+ dd,
253
+ h1,
254
+ h2,
255
+ h3,
256
+ h4,
257
+ h5,
258
+ h6,
259
+ hr,
260
+ figure,
261
+ p,
262
+ pre {
263
+ margin: 0;
264
+ }
265
+ fieldset {
266
+ margin: 0;
267
+ padding: 0;
268
+ }
269
+ legend {
270
+ padding: 0;
271
+ }
272
+ ol,
273
+ ul,
274
+ menu {
275
+ list-style: none;
276
+ margin: 0;
277
+ padding: 0;
278
+ }
279
+ dialog {
280
+ padding: 0;
281
+ }
282
+ textarea {
283
+ resize: vertical;
284
+ }
285
+ input::-moz-placeholder,
286
+ textarea::-moz-placeholder {
287
+ opacity: 1;
288
+ color: #9ca3af;
289
+ }
290
+ input::placeholder,
291
+ textarea::placeholder {
292
+ opacity: 1;
293
+ color: #9ca3af;
294
+ }
295
+ button,
296
+ [role='button'] {
297
+ cursor: pointer;
298
+ }
299
+ :disabled {
300
+ cursor: default;
301
+ }
302
+ img,
303
+ svg,
304
+ video,
305
+ canvas,
306
+ audio,
307
+ iframe,
308
+ embed,
309
+ object {
310
+ display: block;
311
+ vertical-align: middle;
312
+ }
313
+ img,
314
+ video {
315
+ max-width: 100%;
316
+ height: auto;
317
+ }
318
+ [hidden]:where(:not([hidden='until-found'])) {
319
+ display: none;
320
+ }
321
+ .mb-4 {
322
+ margin-bottom: 1rem;
323
+ }
324
+ .mr-2 {
325
+ margin-right: 0.5rem;
326
+ }
327
+ .mt-1 {
328
+ margin-top: 0.25rem;
329
+ }
330
+ .block {
331
+ display: block;
332
+ }
333
+ .flex {
334
+ display: flex;
335
+ }
336
+ .inline-flex {
337
+ display: inline-flex;
338
+ }
339
+ .w-full {
340
+ width: 100%;
341
+ }
342
+ .max-w-md {
343
+ max-width: 28rem;
344
+ }
345
+ .items-center {
346
+ align-items: center;
347
+ }
348
+ .justify-center {
349
+ justify-content: center;
350
+ }
351
+ .space-y-4 > :not([hidden]) ~ :not([hidden]) {
352
+ --tw-space-y-reverse: 0;
353
+ margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
354
+ margin-bottom: calc(1rem * var(--tw-space-y-reverse));
355
+ }
356
+ .rounded-lg {
357
+ border-radius: 0.5rem;
358
+ }
359
+ .rounded-md {
360
+ border-radius: 0.375rem;
361
+ }
362
+ .border {
363
+ border-width: 1px;
364
+ }
365
+ .border-gray-300 {
366
+ --tw-border-opacity: 1;
367
+ border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
368
+ }
369
+ .bg-blue-600 {
370
+ --tw-bg-opacity: 1;
371
+ background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
372
+ }
373
+ .bg-white {
374
+ --tw-bg-opacity: 1;
375
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
376
+ }
377
+ .p-2 {
378
+ padding: 0.5rem;
379
+ }
380
+ .p-8 {
381
+ padding: 2rem;
382
+ }
383
+ .py-4 {
384
+ padding-top: 1rem;
385
+ padding-bottom: 1rem;
386
+ }
387
+ .text-sm {
388
+ font-size: 0.875rem;
389
+ line-height: 1.25rem;
390
+ }
391
+ .font-medium {
392
+ font-weight: 500;
393
+ }
394
+ .text-gray-700 {
395
+ --tw-text-opacity: 1;
396
+ color: rgb(55 65 81 / var(--tw-text-opacity, 1));
397
+ }
398
+ .text-white {
399
+ --tw-text-opacity: 1;
400
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
401
+ }
402
+ .shadow-md {
403
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
404
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
405
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
406
+ var(--tw-shadow);
407
+ }
408
+ .transition {
409
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
410
+ opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
411
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
412
+ opacity, box-shadow, transform, filter, backdrop-filter;
413
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
414
+ opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
415
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
416
+ transition-duration: 0.15s;
417
+ }
418
+ .duration-200 {
419
+ transition-duration: 0.2s;
420
+ }
421
+ html,
422
+ body {
423
+ margin: 0;
424
+ display: flex;
425
+ height: 100%;
426
+ width: 100%;
427
+ flex-direction: column;
428
+ padding: 0;
429
+ }
430
+ #root {
431
+ display: flex;
432
+ flex-direction: column;
433
+ margin: 0;
434
+ height: 100%;
435
+ width: 100%;
436
+ padding: 0;
437
+ }
438
+ body::-webkit-scrollbar {
439
+ height: 0px;
440
+ width: 0px;
441
+ }
442
+ .container {
443
+ margin-left: auto;
444
+ margin-right: auto;
445
+ padding-left: 1.25rem;
446
+ padding-right: 1.25rem;
447
+ }
448
+ *::-webkit-scrollbar {
449
+ width: 0px;
450
+ height: 0px;
451
+ }
452
+ input,
453
+ div,
454
+ textarea {
455
+ outline: 2px solid transparent !important;
456
+ outline-offset: 2px !important;
457
+ }
458
+ .hover\:bg-blue-700:hover {
459
+ --tw-bg-opacity: 1;
460
+ background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
461
+ }
462
+ .focus\:outline-none:focus {
463
+ outline: 2px solid transparent;
464
+ outline-offset: 2px;
465
+ }
466
+ .focus\:ring:focus {
467
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width)
468
+ var(--tw-ring-offset-color);
469
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width))
470
+ var(--tw-ring-color);
471
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
472
+ }
473
+ .focus\:ring-blue-500:focus {
474
+ --tw-ring-opacity: 1;
475
+ --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
476
+ }