@mkody/twitch-emoticons 2.6.2 → 2.7.1
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/.eslintrc.json +143 -143
- package/.github/codeql/codeql-config.yml +4 -4
- package/.github/workflows/codeql.yml +50 -50
- package/.github/workflows/eslint.yml +50 -50
- package/.github/workflows/release.yml +22 -0
- package/.github/workflows/yarn-test.yml +17 -17
- package/.jsdoc.json +39 -39
- package/.nvmrc +1 -0
- package/LICENSE +22 -22
- package/README.md +13 -8
- package/docs/BTTVEmote.html +83 -5
- package/docs/Channel.html +1 -1
- package/docs/Collection.html +1 -1
- package/docs/Emote.html +3 -3
- package/docs/EmoteFetcher.html +271 -19
- package/docs/EmoteParser.html +1 -1
- package/docs/FFZEmote.html +162 -6
- package/docs/SevenTV.html +1190 -1190
- package/docs/SevenTVEmote.html +84 -6
- package/docs/TwitchEmote.html +83 -5
- package/docs/index.html +15 -10
- package/docs/struct_BTTVEmote.js.html +61 -55
- package/docs/struct_Channel.js.html +56 -56
- package/docs/struct_Emote.js.html +67 -66
- package/docs/struct_EmoteFetcher.js.html +324 -284
- package/docs/struct_EmoteParser.js.html +82 -81
- package/docs/struct_FFZEmote.js.html +75 -62
- package/docs/struct_SevenTVEmote.js.html +70 -64
- package/docs/struct_TwitchEmote.js.html +59 -53
- package/docs/util_Collection.js.html +79 -79
- package/package.json +57 -57
- package/src/index.js +12 -12
- package/src/struct/BTTVEmote.js +60 -54
- package/src/struct/Channel.js +55 -55
- package/src/struct/Emote.js +66 -65
- package/src/struct/EmoteFetcher.js +323 -283
- package/src/struct/EmoteParser.js +81 -80
- package/src/struct/FFZEmote.js +74 -61
- package/src/struct/SevenTVEmote.js +69 -63
- package/src/struct/TwitchEmote.js +58 -52
- package/src/util/Collection.js +78 -78
- package/src/util/Constants.js +31 -25
- package/test/index.js +174 -166
- package/typings/index.d.ts +98 -93
package/docs/EmoteFetcher.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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</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#toString">toString</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#toString">toString</a></li></ul></li></ul>
|
|
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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmoteSet">_getRawFFZEmoteSet</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</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#toString">toString</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#toString">toString</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
<dt class="tag-source">Source:</dt>
|
|
82
82
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
83
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
83
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line19">line 19</a>
|
|
84
84
|
</li></ul></dd>
|
|
85
85
|
|
|
86
86
|
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
|
|
255
255
|
<dt class="tag-source">Source:</dt>
|
|
256
256
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
257
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
257
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line26">line 26</a>
|
|
258
258
|
</li></ul></dd>
|
|
259
259
|
|
|
260
260
|
|
|
@@ -322,7 +322,7 @@ Collectionped by name to Channel instance.</p></li></ul></dd>
|
|
|
322
322
|
|
|
323
323
|
<dt class="tag-source">Source:</dt>
|
|
324
324
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
325
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
325
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line41">line 41</a>
|
|
326
326
|
</li></ul></dd>
|
|
327
327
|
|
|
328
328
|
|
|
@@ -402,7 +402,7 @@ Collectionped by emote code to Emote instance.</p></li></ul></dd>
|
|
|
402
402
|
|
|
403
403
|
<dt class="tag-source">Source:</dt>
|
|
404
404
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
405
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
405
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line34">line 34</a>
|
|
406
406
|
</li></ul></dd>
|
|
407
407
|
|
|
408
408
|
|
|
@@ -466,6 +466,84 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
466
466
|
|
|
467
467
|
|
|
468
468
|
|
|
469
|
+
<h4 class="name" id="ffzModifiersFetched"><span class="type-signature"></span>ffzModifiersFetched<span class="type-signature"> :boolean</span></h4>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
<dl class="details">
|
|
476
|
+
|
|
477
|
+
<dt class="tag-description">Description:</dt>
|
|
478
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Save if we fetched FFZ's modifier emotes once.</p></li></ul></dd>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
<dt class="tag-source">Source:</dt>
|
|
483
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
484
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line47">line 47</a>
|
|
485
|
+
</li></ul></dd>
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
</dl>
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
<div class="description usertext">
|
|
524
|
+
<p>Save if we fetched FFZ's modifier emotes once.</p>
|
|
525
|
+
</div>
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
<h5 class="h5-types">Type:</h5>
|
|
530
|
+
<ul>
|
|
531
|
+
<li>
|
|
532
|
+
|
|
533
|
+
<span class="param-type">boolean</span>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
</li>
|
|
538
|
+
</ul>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
469
547
|
<h4 class="name" id="globalChannel"><span class="type-signature type-signature-readonly, nullable">(readonly, nullable) </span>globalChannel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
|
|
470
548
|
|
|
471
549
|
|
|
@@ -481,7 +559,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
481
559
|
|
|
482
560
|
<dt class="tag-source">Source:</dt>
|
|
483
561
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
484
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
562
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line55">line 55</a>
|
|
485
563
|
</li></ul></dd>
|
|
486
564
|
|
|
487
565
|
|
|
@@ -569,7 +647,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
569
647
|
|
|
570
648
|
<dt class="tag-source">Source:</dt>
|
|
571
649
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
572
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
650
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line124">line 124</a>
|
|
573
651
|
</li></ul></dd>
|
|
574
652
|
|
|
575
653
|
|
|
@@ -747,7 +825,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
747
825
|
|
|
748
826
|
<dt class="tag-source">Source:</dt>
|
|
749
827
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
750
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
828
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line178">line 178</a>
|
|
751
829
|
</li></ul></dd>
|
|
752
830
|
|
|
753
831
|
|
|
@@ -925,7 +1003,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
925
1003
|
|
|
926
1004
|
<dt class="tag-source">Source:</dt>
|
|
927
1005
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
928
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1006
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line213">line 213</a>
|
|
929
1007
|
</li></ul></dd>
|
|
930
1008
|
|
|
931
1009
|
|
|
@@ -1127,7 +1205,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1127
1205
|
|
|
1128
1206
|
<dt class="tag-source">Source:</dt>
|
|
1129
1207
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1130
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1208
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line84">line 84</a>
|
|
1131
1209
|
</li></ul></dd>
|
|
1132
1210
|
|
|
1133
1211
|
|
|
@@ -1306,7 +1384,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1306
1384
|
|
|
1307
1385
|
<dt class="tag-source">Source:</dt>
|
|
1308
1386
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1309
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1387
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line104">line 104</a>
|
|
1310
1388
|
</li></ul></dd>
|
|
1311
1389
|
|
|
1312
1390
|
|
|
@@ -1437,6 +1515,160 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1437
1515
|
|
|
1438
1516
|
|
|
1439
1517
|
|
|
1518
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
<dl class="param-type">
|
|
1524
|
+
<dt>
|
|
1525
|
+
Type
|
|
1526
|
+
</dt>
|
|
1527
|
+
<dd>
|
|
1528
|
+
|
|
1529
|
+
<span class="param-type">Promise.<Array.<Object>></span>
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
</dd>
|
|
1534
|
+
</dl>
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
<h4 class="name" id="_getRawFFZEmoteSet"><span class="type-signature type-signature-private">(private) </span>_getRawFFZEmoteSet<span class="signature">(id)</span><span class="type-signature"> → {Promise.<Array.<Object>>}</span></h4>
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
<dl class="details">
|
|
1553
|
+
|
|
1554
|
+
<dt class="tag-description">Description:</dt>
|
|
1555
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Gets the raw FFZ emote data from a set.</p></li></ul></dd>
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
<dt class="tag-source">Source:</dt>
|
|
1560
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1561
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line143">line 143</a>
|
|
1562
|
+
</li></ul></dd>
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
</dl>
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
<table class="params">
|
|
1612
|
+
<thead>
|
|
1613
|
+
<tr>
|
|
1614
|
+
|
|
1615
|
+
<th>Name</th>
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
<th>Type</th>
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
<th class="last">Description</th>
|
|
1625
|
+
</tr>
|
|
1626
|
+
</thead>
|
|
1627
|
+
|
|
1628
|
+
<tbody>
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
<tr>
|
|
1632
|
+
|
|
1633
|
+
<td class="name"><code>id</code></td>
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
<td class="type">
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
<span class="param-type">int</span>
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
</td>
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
<td class="description last"><p>ID of the set.</p></td>
|
|
1651
|
+
</tr>
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
</tbody>
|
|
1655
|
+
</table>
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1440
1672
|
<h5 class="h5-returns">Returns:</h5>
|
|
1441
1673
|
|
|
1442
1674
|
|
|
@@ -1480,7 +1712,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1480
1712
|
|
|
1481
1713
|
<dt class="tag-source">Source:</dt>
|
|
1482
1714
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1483
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1715
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line157">line 157</a>
|
|
1484
1716
|
</li></ul></dd>
|
|
1485
1717
|
|
|
1486
1718
|
|
|
@@ -1634,7 +1866,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1634
1866
|
|
|
1635
1867
|
<dt class="tag-source">Source:</dt>
|
|
1636
1868
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1637
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1869
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line197">line 197</a>
|
|
1638
1870
|
</li></ul></dd>
|
|
1639
1871
|
|
|
1640
1872
|
|
|
@@ -1808,7 +2040,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1808
2040
|
|
|
1809
2041
|
<dt class="tag-source">Source:</dt>
|
|
1810
2042
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1811
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2043
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line65">line 65</a>
|
|
1812
2044
|
</li></ul></dd>
|
|
1813
2045
|
|
|
1814
2046
|
|
|
@@ -1963,7 +2195,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1963
2195
|
|
|
1964
2196
|
<dt class="tag-source">Source:</dt>
|
|
1965
2197
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1966
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2198
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line251">line 251</a>
|
|
1967
2199
|
</li></ul></dd>
|
|
1968
2200
|
|
|
1969
2201
|
|
|
@@ -2121,7 +2353,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2121
2353
|
|
|
2122
2354
|
|
|
2123
2355
|
|
|
2124
|
-
<h4 class="name" id="fetchFFZEmotes"><span class="type-signature"
|
|
2356
|
+
<h4 class="name" id="fetchFFZEmotes"><span class="type-signature type-signature-async">(async) </span>fetchFFZEmotes<span class="signature">(channel<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<<a href="Collection.html">Collection</a>.<string, <a href="FFZEmote.html">FFZEmote</a>>>}</span></h4>
|
|
2125
2357
|
|
|
2126
2358
|
|
|
2127
2359
|
|
|
@@ -2137,7 +2369,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2137
2369
|
|
|
2138
2370
|
<dt class="tag-source">Source:</dt>
|
|
2139
2371
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2140
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2372
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line266">line 266</a>
|
|
2141
2373
|
</li></ul></dd>
|
|
2142
2374
|
|
|
2143
2375
|
|
|
@@ -2197,8 +2429,12 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2197
2429
|
<th>Type</th>
|
|
2198
2430
|
|
|
2199
2431
|
|
|
2432
|
+
<th>Attributes</th>
|
|
2433
|
+
|
|
2200
2434
|
|
|
2201
2435
|
|
|
2436
|
+
<th>Default</th>
|
|
2437
|
+
|
|
2202
2438
|
|
|
2203
2439
|
<th class="last">Description</th>
|
|
2204
2440
|
</tr>
|
|
@@ -2223,8 +2459,24 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2223
2459
|
</td>
|
|
2224
2460
|
|
|
2225
2461
|
|
|
2462
|
+
<td class="attributes">
|
|
2463
|
+
|
|
2464
|
+
<optional><br>
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
</td>
|
|
2471
|
+
|
|
2226
2472
|
|
|
2227
2473
|
|
|
2474
|
+
<td class="default">
|
|
2475
|
+
|
|
2476
|
+
<code>null</code>
|
|
2477
|
+
|
|
2478
|
+
</td>
|
|
2479
|
+
|
|
2228
2480
|
|
|
2229
2481
|
<td class="description last"><p>ID of the channel.</p></td>
|
|
2230
2482
|
</tr>
|
|
@@ -2291,7 +2543,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2291
2543
|
|
|
2292
2544
|
<dt class="tag-source">Source:</dt>
|
|
2293
2545
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2294
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2546
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line304">line 304</a>
|
|
2295
2547
|
</li></ul></dd>
|
|
2296
2548
|
|
|
2297
2549
|
|
|
@@ -2509,7 +2761,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2509
2761
|
|
|
2510
2762
|
<dt class="tag-source">Source:</dt>
|
|
2511
2763
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2512
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2764
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line233">line 233</a>
|
|
2513
2765
|
</li></ul></dd>
|
|
2514
2766
|
|
|
2515
2767
|
|
package/docs/EmoteParser.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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</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#toString">toString</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#toString">toString</a></li></ul></li></ul>
|
|
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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmoteSet">_getRawFFZEmoteSet</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</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#toString">toString</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#toString">toString</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|