@mkody/twitch-emoticons 2.9.3 → 2.9.5
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.
- package/.jsdoc.json +12 -5
- package/.nvmrc +1 -1
- package/dist/TwitchEmoticons.min.js +11 -11
- package/dist/TwitchEmoticons.min.js.map +4 -4
- package/docs/BTTVEmote.html +72 -72
- package/docs/Channel.html +19 -19
- package/docs/Collection.html +25 -25
- package/docs/Emote.html +63 -33
- package/docs/EmoteFetcher.html +426 -366
- package/docs/EmoteParser.html +378 -3
- package/docs/FFZEmote.html +82 -82
- package/docs/SevenTVEmote.html +77 -77
- package/docs/TwitchEmote.html +68 -68
- package/docs/index.html +3 -3
- package/docs/struct_BTTVEmote.js.html +2 -2
- package/docs/struct_Channel.js.html +2 -2
- package/docs/struct_Emote.js.html +3 -2
- package/docs/struct_EmoteFetcher.js.html +4 -2
- package/docs/struct_EmoteParser.js.html +22 -3
- package/docs/struct_FFZEmote.js.html +2 -2
- package/docs/struct_SevenTVEmote.js.html +2 -2
- package/docs/struct_TwitchEmote.js.html +2 -2
- package/docs/util_Collection.js.html +4 -3
- package/package.json +14 -14
- package/src/struct/Emote.js +1 -0
- package/src/struct/EmoteFetcher.js +2 -0
- package/src/struct/EmoteParser.js +20 -1
- package/src/util/Collection.js +1 -0
- package/test/SevenTV.test.js +4 -4
- package/test/__snapshots__/ToFromObject.test.js.snap +1 -1
- package/test/other.test.js +60 -1
- package/typings/index.d.ts +4 -4
- package/docs/SevenTV.html +0 -1191
package/docs/SevenTVEmote.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BTTVEmote.html">BTTVEmote</a><ul class='methods'><li data-type='method'><a href="BTTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="BTTVEmote.html#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Channel.html">Channel</a><ul class='methods'><li data-type='method'><a href="Channel.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="Channel.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="Channel.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li></ul></li><li><a href="
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/mkody/twitch-emoticons" target="_blank" class="menu-item" id="github_link" >GitHub</a></h2><h3>Classes</h3><ul><li><a href="BTTVEmote.html">BTTVEmote</a><ul class='methods'><li data-type='method'><a href="BTTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="BTTVEmote.html#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Channel.html">Channel</a><ul class='methods'><li data-type='method'><a href="Channel.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="Channel.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="Channel.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toObject">toObject</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fromObject">fromObject</a></li></ul></li><li><a href="EmoteParser.html">EmoteParser</a><ul class='methods'><li data-type='method'><a href="EmoteParser.html#parse">parse</a></li></ul></li><li><a href="FFZEmote.html">FFZEmote</a><ul class='methods'><li data-type='method'><a href="FFZEmote.html#toLink">toLink</a></li><li data-type='method'><a href="FFZEmote.html#toObject">toObject</a></li><li data-type='method'><a href="FFZEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="SevenTVEmote.html">SevenTVEmote</a><ul class='methods'><li data-type='method'><a href="SevenTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="SevenTVEmote.html#toObject">toObject</a></li><li data-type='method'><a href="SevenTVEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="TwitchEmote.html">TwitchEmote</a><ul class='methods'><li data-type='method'><a href="TwitchEmote.html#toLink">toLink</a></li><li data-type='method'><a href="TwitchEmote.html#toObject">toObject</a></li><li data-type='method'><a href="TwitchEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
|
|
277
|
-
<h4 class="name" id="
|
|
277
|
+
<h4 class="name" id="owner"><span class="type-signature type-signature-readonly, nullable">(readonly, nullable) </span>owner<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
|
|
278
278
|
|
|
279
279
|
|
|
280
280
|
|
|
@@ -283,13 +283,14 @@
|
|
|
283
283
|
<dl class="details">
|
|
284
284
|
|
|
285
285
|
<dt class="tag-description">Description:</dt>
|
|
286
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
286
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The channel of this emote's creator.<br>
|
|
287
|
+
Not guaranteed to contain the emote, or be cached.</p></li></ul></dd>
|
|
287
288
|
|
|
288
289
|
|
|
289
290
|
|
|
290
291
|
<dt class="tag-source">Source:</dt>
|
|
291
292
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
292
|
-
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#
|
|
293
|
+
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line23">line 23</a>
|
|
293
294
|
</li></ul></dd>
|
|
294
295
|
|
|
295
296
|
|
|
@@ -329,7 +330,8 @@
|
|
|
329
330
|
|
|
330
331
|
|
|
331
332
|
<div class="description usertext">
|
|
332
|
-
<p>
|
|
333
|
+
<p>The channel of this emote's creator.<br>
|
|
334
|
+
Not guaranteed to contain the emote, or be cached.</p>
|
|
333
335
|
</div>
|
|
334
336
|
|
|
335
337
|
|
|
@@ -338,7 +340,7 @@
|
|
|
338
340
|
<ul>
|
|
339
341
|
<li>
|
|
340
342
|
|
|
341
|
-
<span class="param-type">
|
|
343
|
+
<span class="param-type"><a href="Channel.html">Channel</a></span>
|
|
342
344
|
|
|
343
345
|
|
|
344
346
|
|
|
@@ -352,7 +354,7 @@
|
|
|
352
354
|
|
|
353
355
|
|
|
354
356
|
|
|
355
|
-
<h4 class="name" id="
|
|
357
|
+
<h4 class="name" id="ownerName"><span class="type-signature type-signature-nullable">(nullable) </span>ownerName<span class="type-signature"> :string</span></h4>
|
|
356
358
|
|
|
357
359
|
|
|
358
360
|
|
|
@@ -361,15 +363,13 @@
|
|
|
361
363
|
<dl class="details">
|
|
362
364
|
|
|
363
365
|
<dt class="tag-description">Description:</dt>
|
|
364
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
365
|
-
Only accurate and constant on Twitch emotes.<br>
|
|
366
|
-
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p></li></ul></dd>
|
|
366
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The name of the emote creator's channel.</p></li></ul></dd>
|
|
367
367
|
|
|
368
368
|
|
|
369
369
|
|
|
370
370
|
<dt class="tag-source">Source:</dt>
|
|
371
371
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
372
|
-
<a href="
|
|
372
|
+
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line35">line 35</a>
|
|
373
373
|
</li></ul></dd>
|
|
374
374
|
|
|
375
375
|
|
|
@@ -380,11 +380,6 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
|
|
383
|
-
<dt class="tag-overrides">Overrides:</dt>
|
|
384
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
385
|
-
<a href="Emote.html#channel">Emote#channel</a>
|
|
386
|
-
</li></ul></dd>
|
|
387
|
-
|
|
388
383
|
|
|
389
384
|
|
|
390
385
|
|
|
@@ -414,9 +409,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
414
409
|
|
|
415
410
|
|
|
416
411
|
<div class="description usertext">
|
|
417
|
-
<p>The
|
|
418
|
-
Only accurate and constant on Twitch emotes.<br>
|
|
419
|
-
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
|
|
412
|
+
<p>The name of the emote creator's channel.</p>
|
|
420
413
|
</div>
|
|
421
414
|
|
|
422
415
|
|
|
@@ -425,7 +418,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
425
418
|
<ul>
|
|
426
419
|
<li>
|
|
427
420
|
|
|
428
|
-
<span class="param-type"
|
|
421
|
+
<span class="param-type">string</span>
|
|
429
422
|
|
|
430
423
|
|
|
431
424
|
|
|
@@ -439,7 +432,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
439
432
|
|
|
440
433
|
|
|
441
434
|
|
|
442
|
-
<h4 class="name" id="
|
|
435
|
+
<h4 class="name" id="sizes"><span class="type-signature"></span>sizes<span class="type-signature"> :Array.<string></span></h4>
|
|
443
436
|
|
|
444
437
|
|
|
445
438
|
|
|
@@ -448,13 +441,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
448
441
|
<dl class="details">
|
|
449
442
|
|
|
450
443
|
<dt class="tag-description">Description:</dt>
|
|
451
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
444
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Available image sizes.</p></li></ul></dd>
|
|
452
445
|
|
|
453
446
|
|
|
454
447
|
|
|
455
448
|
<dt class="tag-source">Source:</dt>
|
|
456
449
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
457
|
-
<a href="
|
|
450
|
+
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line41">line 41</a>
|
|
458
451
|
</li></ul></dd>
|
|
459
452
|
|
|
460
453
|
|
|
@@ -465,11 +458,6 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
465
458
|
|
|
466
459
|
|
|
467
460
|
|
|
468
|
-
<dt class="tag-overrides">Overrides:</dt>
|
|
469
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
470
|
-
<a href="Emote.html#code">Emote#code</a>
|
|
471
|
-
</li></ul></dd>
|
|
472
|
-
|
|
473
461
|
|
|
474
462
|
|
|
475
463
|
|
|
@@ -499,7 +487,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
499
487
|
|
|
500
488
|
|
|
501
489
|
<div class="description usertext">
|
|
502
|
-
<p>
|
|
490
|
+
<p>Available image sizes.</p>
|
|
503
491
|
</div>
|
|
504
492
|
|
|
505
493
|
|
|
@@ -508,7 +496,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
508
496
|
<ul>
|
|
509
497
|
<li>
|
|
510
498
|
|
|
511
|
-
<span class="param-type">string
|
|
499
|
+
<span class="param-type">Array.<string></span>
|
|
512
500
|
|
|
513
501
|
|
|
514
502
|
|
|
@@ -522,7 +510,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
522
510
|
|
|
523
511
|
|
|
524
512
|
|
|
525
|
-
<h4 class="name" id="
|
|
513
|
+
<h4 class="name" id="animated"><span class="type-signature"></span>animated<span class="type-signature"> :boolean</span></h4>
|
|
526
514
|
|
|
527
515
|
|
|
528
516
|
|
|
@@ -531,13 +519,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
531
519
|
<dl class="details">
|
|
532
520
|
|
|
533
521
|
<dt class="tag-description">Description:</dt>
|
|
534
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
522
|
+
<dd class="tag-description"><ul class="dummy"><li><p>If emote is animated.</p></li></ul></dd>
|
|
535
523
|
|
|
536
524
|
|
|
537
525
|
|
|
538
526
|
<dt class="tag-source">Source:</dt>
|
|
539
527
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
540
|
-
<a href="
|
|
528
|
+
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line49">line 49</a>
|
|
541
529
|
</li></ul></dd>
|
|
542
530
|
|
|
543
531
|
|
|
@@ -548,11 +536,6 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
548
536
|
|
|
549
537
|
|
|
550
538
|
|
|
551
|
-
<dt class="tag-overrides">Overrides:</dt>
|
|
552
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
553
|
-
<a href="Emote.html#fetcher">Emote#fetcher</a>
|
|
554
|
-
</li></ul></dd>
|
|
555
|
-
|
|
556
539
|
|
|
557
540
|
|
|
558
541
|
|
|
@@ -582,7 +565,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
582
565
|
|
|
583
566
|
|
|
584
567
|
<div class="description usertext">
|
|
585
|
-
<p>
|
|
568
|
+
<p>If emote is animated.</p>
|
|
586
569
|
</div>
|
|
587
570
|
|
|
588
571
|
|
|
@@ -591,7 +574,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
591
574
|
<ul>
|
|
592
575
|
<li>
|
|
593
576
|
|
|
594
|
-
<span class="param-type"
|
|
577
|
+
<span class="param-type">boolean</span>
|
|
595
578
|
|
|
596
579
|
|
|
597
580
|
|
|
@@ -605,7 +588,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
605
588
|
|
|
606
589
|
|
|
607
590
|
|
|
608
|
-
<h4 class="name" id="
|
|
591
|
+
<h4 class="name" id="imageType"><span class="type-signature"></span>imageType<span class="type-signature"> :string</span></h4>
|
|
609
592
|
|
|
610
593
|
|
|
611
594
|
|
|
@@ -614,13 +597,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
614
597
|
<dl class="details">
|
|
615
598
|
|
|
616
599
|
<dt class="tag-description">Description:</dt>
|
|
617
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
600
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The image type of the emote.</p></li></ul></dd>
|
|
618
601
|
|
|
619
602
|
|
|
620
603
|
|
|
621
604
|
<dt class="tag-source">Source:</dt>
|
|
622
605
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
623
|
-
<a href="
|
|
606
|
+
<a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line55">line 55</a>
|
|
624
607
|
</li></ul></dd>
|
|
625
608
|
|
|
626
609
|
|
|
@@ -631,11 +614,6 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
631
614
|
|
|
632
615
|
|
|
633
616
|
|
|
634
|
-
<dt class="tag-overrides">Overrides:</dt>
|
|
635
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
636
|
-
<a href="Emote.html#id">Emote#id</a>
|
|
637
|
-
</li></ul></dd>
|
|
638
|
-
|
|
639
617
|
|
|
640
618
|
|
|
641
619
|
|
|
@@ -665,7 +643,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
665
643
|
|
|
666
644
|
|
|
667
645
|
<div class="description usertext">
|
|
668
|
-
<p>The
|
|
646
|
+
<p>The image type of the emote.</p>
|
|
669
647
|
</div>
|
|
670
648
|
|
|
671
649
|
|
|
@@ -688,7 +666,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
688
666
|
|
|
689
667
|
|
|
690
668
|
|
|
691
|
-
<h4 class="name" id="
|
|
669
|
+
<h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
|
|
692
670
|
|
|
693
671
|
|
|
694
672
|
|
|
@@ -697,13 +675,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
697
675
|
<dl class="details">
|
|
698
676
|
|
|
699
677
|
<dt class="tag-description">Description:</dt>
|
|
700
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
678
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The emote fetcher.</p></li></ul></dd>
|
|
701
679
|
|
|
702
680
|
|
|
703
681
|
|
|
704
682
|
<dt class="tag-source">Source:</dt>
|
|
705
683
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
706
|
-
<a href="
|
|
684
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line19">line 19</a>
|
|
707
685
|
</li></ul></dd>
|
|
708
686
|
|
|
709
687
|
|
|
@@ -714,6 +692,11 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
714
692
|
|
|
715
693
|
|
|
716
694
|
|
|
695
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
696
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
697
|
+
<a href="Emote.html#fetcher">Emote#fetcher</a>
|
|
698
|
+
</li></ul></dd>
|
|
699
|
+
|
|
717
700
|
|
|
718
701
|
|
|
719
702
|
|
|
@@ -743,7 +726,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
743
726
|
|
|
744
727
|
|
|
745
728
|
<div class="description usertext">
|
|
746
|
-
<p>The
|
|
729
|
+
<p>The emote fetcher.</p>
|
|
747
730
|
</div>
|
|
748
731
|
|
|
749
732
|
|
|
@@ -752,7 +735,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
752
735
|
<ul>
|
|
753
736
|
<li>
|
|
754
737
|
|
|
755
|
-
<span class="param-type">
|
|
738
|
+
<span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
|
|
756
739
|
|
|
757
740
|
|
|
758
741
|
|
|
@@ -766,7 +749,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
766
749
|
|
|
767
750
|
|
|
768
751
|
|
|
769
|
-
<h4 class="name" id="
|
|
752
|
+
<h4 class="name" id="channel"><span class="type-signature"></span>channel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
|
|
770
753
|
|
|
771
754
|
|
|
772
755
|
|
|
@@ -775,14 +758,15 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
775
758
|
<dl class="details">
|
|
776
759
|
|
|
777
760
|
<dt class="tag-description">Description:</dt>
|
|
778
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The channel
|
|
779
|
-
|
|
761
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The channel this emote belongs to.<br>
|
|
762
|
+
Only accurate and constant on Twitch emotes.<br>
|
|
763
|
+
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p></li></ul></dd>
|
|
780
764
|
|
|
781
765
|
|
|
782
766
|
|
|
783
767
|
<dt class="tag-source">Source:</dt>
|
|
784
768
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
785
|
-
<a href="
|
|
769
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line27">line 27</a>
|
|
786
770
|
</li></ul></dd>
|
|
787
771
|
|
|
788
772
|
|
|
@@ -793,6 +777,11 @@ Not guaranteed to contain the emote, or be cached.</p></li></ul></dd>
|
|
|
793
777
|
|
|
794
778
|
|
|
795
779
|
|
|
780
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
781
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
782
|
+
<a href="Emote.html#channel">Emote#channel</a>
|
|
783
|
+
</li></ul></dd>
|
|
784
|
+
|
|
796
785
|
|
|
797
786
|
|
|
798
787
|
|
|
@@ -822,8 +811,9 @@ Not guaranteed to contain the emote, or be cached.</p></li></ul></dd>
|
|
|
822
811
|
|
|
823
812
|
|
|
824
813
|
<div class="description usertext">
|
|
825
|
-
<p>The channel
|
|
826
|
-
|
|
814
|
+
<p>The channel this emote belongs to.<br>
|
|
815
|
+
Only accurate and constant on Twitch emotes.<br>
|
|
816
|
+
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
|
|
827
817
|
</div>
|
|
828
818
|
|
|
829
819
|
|
|
@@ -846,7 +836,7 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
846
836
|
|
|
847
837
|
|
|
848
838
|
|
|
849
|
-
<h4 class="name" id="
|
|
839
|
+
<h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :string</span></h4>
|
|
850
840
|
|
|
851
841
|
|
|
852
842
|
|
|
@@ -855,13 +845,13 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
855
845
|
<dl class="details">
|
|
856
846
|
|
|
857
847
|
<dt class="tag-description">Description:</dt>
|
|
858
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
848
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The ID of this emote.</p></li></ul></dd>
|
|
859
849
|
|
|
860
850
|
|
|
861
851
|
|
|
862
852
|
<dt class="tag-source">Source:</dt>
|
|
863
853
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
864
|
-
<a href="
|
|
854
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line33">line 33</a>
|
|
865
855
|
</li></ul></dd>
|
|
866
856
|
|
|
867
857
|
|
|
@@ -872,6 +862,11 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
872
862
|
|
|
873
863
|
|
|
874
864
|
|
|
865
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
866
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
867
|
+
<a href="Emote.html#id">Emote#id</a>
|
|
868
|
+
</li></ul></dd>
|
|
869
|
+
|
|
875
870
|
|
|
876
871
|
|
|
877
872
|
|
|
@@ -901,7 +896,7 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
901
896
|
|
|
902
897
|
|
|
903
898
|
<div class="description usertext">
|
|
904
|
-
<p>The
|
|
899
|
+
<p>The ID of this emote.</p>
|
|
905
900
|
</div>
|
|
906
901
|
|
|
907
902
|
|
|
@@ -924,7 +919,7 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
924
919
|
|
|
925
920
|
|
|
926
921
|
|
|
927
|
-
<h4 class="name" id="
|
|
922
|
+
<h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
|
|
928
923
|
|
|
929
924
|
|
|
930
925
|
|
|
@@ -933,13 +928,14 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
933
928
|
<dl class="details">
|
|
934
929
|
|
|
935
930
|
<dt class="tag-description">Description:</dt>
|
|
936
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
931
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The type of this emote.<br>
|
|
932
|
+
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></li></ul></dd>
|
|
937
933
|
|
|
938
934
|
|
|
939
935
|
|
|
940
936
|
<dt class="tag-source">Source:</dt>
|
|
941
937
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
942
|
-
<a href="
|
|
938
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line40">line 40</a>
|
|
943
939
|
</li></ul></dd>
|
|
944
940
|
|
|
945
941
|
|
|
@@ -950,6 +946,11 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
950
946
|
|
|
951
947
|
|
|
952
948
|
|
|
949
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
950
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
951
|
+
<a href="Emote.html#type">Emote#type</a>
|
|
952
|
+
</li></ul></dd>
|
|
953
|
+
|
|
953
954
|
|
|
954
955
|
|
|
955
956
|
|
|
@@ -979,7 +980,8 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
979
980
|
|
|
980
981
|
|
|
981
982
|
<div class="description usertext">
|
|
982
|
-
<p>
|
|
983
|
+
<p>The type of this emote.<br>
|
|
984
|
+
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
|
|
983
985
|
</div>
|
|
984
986
|
|
|
985
987
|
|
|
@@ -988,7 +990,7 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
988
990
|
<ul>
|
|
989
991
|
<li>
|
|
990
992
|
|
|
991
|
-
<span class="param-type">
|
|
993
|
+
<span class="param-type">string</span>
|
|
992
994
|
|
|
993
995
|
|
|
994
996
|
|
|
@@ -1002,7 +1004,7 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
1002
1004
|
|
|
1003
1005
|
|
|
1004
1006
|
|
|
1005
|
-
<h4 class="name" id="
|
|
1007
|
+
<h4 class="name" id="code"><span class="type-signature"></span>code<span class="type-signature"> :string</span></h4>
|
|
1006
1008
|
|
|
1007
1009
|
|
|
1008
1010
|
|
|
@@ -1011,14 +1013,13 @@ Not guaranteed to contain the emote, or be cached.</p>
|
|
|
1011
1013
|
<dl class="details">
|
|
1012
1014
|
|
|
1013
1015
|
<dt class="tag-description">Description:</dt>
|
|
1014
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
1015
|
-
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></li></ul></dd>
|
|
1016
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The code or name of the emote.</p></li></ul></dd>
|
|
1016
1017
|
|
|
1017
1018
|
|
|
1018
1019
|
|
|
1019
1020
|
<dt class="tag-source">Source:</dt>
|
|
1020
1021
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1021
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
1022
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line50">line 50</a>
|
|
1022
1023
|
</li></ul></dd>
|
|
1023
1024
|
|
|
1024
1025
|
|
|
@@ -1031,7 +1032,7 @@ Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></
|
|
|
1031
1032
|
|
|
1032
1033
|
<dt class="tag-overrides">Overrides:</dt>
|
|
1033
1034
|
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1034
|
-
<a href="Emote.html#
|
|
1035
|
+
<a href="Emote.html#code">Emote#code</a>
|
|
1035
1036
|
</li></ul></dd>
|
|
1036
1037
|
|
|
1037
1038
|
|
|
@@ -1063,8 +1064,7 @@ Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></
|
|
|
1063
1064
|
|
|
1064
1065
|
|
|
1065
1066
|
<div class="description usertext">
|
|
1066
|
-
<p>The
|
|
1067
|
-
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
|
|
1067
|
+
<p>The code or name of the emote.</p>
|
|
1068
1068
|
</div>
|
|
1069
1069
|
|
|
1070
1070
|
|
|
@@ -1583,7 +1583,7 @@ Will result in an Object representation of a SevenTVEmote</p></li></ul></dd>
|
|
|
1583
1583
|
<br class="clear">
|
|
1584
1584
|
|
|
1585
1585
|
<footer>
|
|
1586
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.
|
|
1586
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1587
1587
|
</footer>
|
|
1588
1588
|
|
|
1589
1589
|
<script>prettyPrint();</script>
|