@mkody/twitch-emoticons 2.9.4 → 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 +71 -71
- package/docs/Channel.html +18 -18
- package/docs/Collection.html +22 -22
- package/docs/Emote.html +30 -30
- package/docs/EmoteFetcher.html +382 -382
- package/docs/EmoteParser.html +1 -1
- package/docs/FFZEmote.html +81 -81
- package/docs/SevenTVEmote.html +76 -76
- package/docs/TwitchEmote.html +67 -67
- package/docs/index.html +2 -2
- package/docs/struct_BTTVEmote.js.html +1 -1
- package/docs/struct_Channel.js.html +1 -1
- package/docs/struct_Emote.js.html +1 -1
- package/docs/struct_EmoteFetcher.js.html +1 -1
- package/docs/struct_EmoteParser.js.html +1 -1
- package/docs/struct_FFZEmote.js.html +1 -1
- package/docs/struct_SevenTVEmote.js.html +1 -1
- package/docs/struct_TwitchEmote.js.html +1 -1
- package/docs/util_Collection.js.html +1 -1
- package/package.json +9 -9
- package/test/SevenTV.test.js +4 -4
- package/test/__snapshots__/ToFromObject.test.js.snap +1 -1
- package/typings/index.d.ts +3 -3
- package/docs/SevenTV.html +0 -1191
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#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
|
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
|
|
383
|
-
<h4 class="name" id="
|
|
383
|
+
<h4 class="name" id="emotes"><span class="type-signature"></span>emotes<span class="type-signature"> :<a href="Collection.html">Collection</a>.<string, <a href="Emote.html">Emote</a>></span></h4>
|
|
384
384
|
|
|
385
385
|
|
|
386
386
|
|
|
@@ -389,14 +389,14 @@
|
|
|
389
389
|
<dl class="details">
|
|
390
390
|
|
|
391
391
|
<dt class="tag-description">Description:</dt>
|
|
392
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Cached
|
|
393
|
-
Collectionped by
|
|
392
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Cached emotes.<br>
|
|
393
|
+
Collectionped by emote code to Emote instance.</p></li></ul></dd>
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
|
|
397
397
|
<dt class="tag-source">Source:</dt>
|
|
398
398
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
399
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
399
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line38">line 38</a>
|
|
400
400
|
</li></ul></dd>
|
|
401
401
|
|
|
402
402
|
|
|
@@ -436,8 +436,8 @@ Collectionped by name to Channel instance.</p></li></ul></dd>
|
|
|
436
436
|
|
|
437
437
|
|
|
438
438
|
<div class="description usertext">
|
|
439
|
-
<p>Cached
|
|
440
|
-
Collectionped by
|
|
439
|
+
<p>Cached emotes.<br>
|
|
440
|
+
Collectionped by emote code to Emote instance.</p>
|
|
441
441
|
</div>
|
|
442
442
|
|
|
443
443
|
|
|
@@ -446,7 +446,7 @@ Collectionped by name to Channel instance.</p>
|
|
|
446
446
|
<ul>
|
|
447
447
|
<li>
|
|
448
448
|
|
|
449
|
-
<span class="param-type"><a href="Collection.html">Collection</a>.<string, <a href="
|
|
449
|
+
<span class="param-type"><a href="Collection.html">Collection</a>.<string, <a href="Emote.html">Emote</a>></span>
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
|
|
@@ -460,7 +460,7 @@ Collectionped by name to Channel instance.</p>
|
|
|
460
460
|
|
|
461
461
|
|
|
462
462
|
|
|
463
|
-
<h4 class="name" id="
|
|
463
|
+
<h4 class="name" id="channels"><span class="type-signature"></span>channels<span class="type-signature"> :<a href="Collection.html">Collection</a>.<string, <a href="Channel.html">Channel</a>></span></h4>
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
|
|
@@ -469,14 +469,14 @@ Collectionped by name to Channel instance.</p>
|
|
|
469
469
|
<dl class="details">
|
|
470
470
|
|
|
471
471
|
<dt class="tag-description">Description:</dt>
|
|
472
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Cached
|
|
473
|
-
Collectionped by
|
|
472
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Cached channels.<br>
|
|
473
|
+
Collectionped by name to Channel instance.</p></li></ul></dd>
|
|
474
474
|
|
|
475
475
|
|
|
476
476
|
|
|
477
477
|
<dt class="tag-source">Source:</dt>
|
|
478
478
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
479
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
479
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line45">line 45</a>
|
|
480
480
|
</li></ul></dd>
|
|
481
481
|
|
|
482
482
|
|
|
@@ -516,8 +516,8 @@ Collectionped by emote code to Emote instance.</p></li></ul></dd>
|
|
|
516
516
|
|
|
517
517
|
|
|
518
518
|
<div class="description usertext">
|
|
519
|
-
<p>Cached
|
|
520
|
-
Collectionped by
|
|
519
|
+
<p>Cached channels.<br>
|
|
520
|
+
Collectionped by name to Channel instance.</p>
|
|
521
521
|
</div>
|
|
522
522
|
|
|
523
523
|
|
|
@@ -526,7 +526,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
526
526
|
<ul>
|
|
527
527
|
<li>
|
|
528
528
|
|
|
529
|
-
<span class="param-type"><a href="Collection.html">Collection</a>.<string, <a href="
|
|
529
|
+
<span class="param-type"><a href="Collection.html">Collection</a>.<string, <a href="Channel.html">Channel</a>></span>
|
|
530
530
|
|
|
531
531
|
|
|
532
532
|
|
|
@@ -705,7 +705,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
705
705
|
|
|
706
706
|
|
|
707
707
|
|
|
708
|
-
<h4 class="name" id="
|
|
708
|
+
<h4 class="name" id="_setupChannel"><span class="type-signature type-signature-private">(private) </span>_setupChannel<span class="signature">(channel_id, format<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="Channel.html">Channel</a>}</span></h4>
|
|
709
709
|
|
|
710
710
|
|
|
711
711
|
|
|
@@ -715,13 +715,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
715
715
|
<dl class="details">
|
|
716
716
|
|
|
717
717
|
<dt class="tag-description">Description:</dt>
|
|
718
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
718
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Sets up a channel</p></li></ul></dd>
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
|
|
722
722
|
<dt class="tag-source">Source:</dt>
|
|
723
723
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
724
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
724
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line71">line 71</a>
|
|
725
725
|
</li></ul></dd>
|
|
726
726
|
|
|
727
727
|
|
|
@@ -833,13 +833,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
833
833
|
|
|
834
834
|
<tr>
|
|
835
835
|
|
|
836
|
-
<td class="name"><code>
|
|
836
|
+
<td class="name"><code>format</code></td>
|
|
837
837
|
|
|
838
838
|
|
|
839
839
|
<td class="type">
|
|
840
840
|
|
|
841
841
|
|
|
842
|
-
<span class="param-type">
|
|
842
|
+
<span class="param-type">string</span>
|
|
843
843
|
|
|
844
844
|
|
|
845
845
|
|
|
@@ -849,6 +849,8 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
849
849
|
|
|
850
850
|
<td class="attributes">
|
|
851
851
|
|
|
852
|
+
<optional><br>
|
|
853
|
+
|
|
852
854
|
|
|
853
855
|
|
|
854
856
|
|
|
@@ -859,55 +861,24 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
859
861
|
|
|
860
862
|
<td class="default">
|
|
861
863
|
|
|
864
|
+
<code>null</code>
|
|
865
|
+
|
|
862
866
|
</td>
|
|
863
867
|
|
|
864
868
|
|
|
865
|
-
<td class="description last"><p>
|
|
869
|
+
<td class="description last"><p>The type file format to use (webp/avif).</p></td>
|
|
866
870
|
</tr>
|
|
867
871
|
|
|
868
872
|
|
|
873
|
+
</tbody>
|
|
874
|
+
</table>
|
|
869
875
|
|
|
870
|
-
<tr>
|
|
871
|
-
|
|
872
|
-
<td class="name"><code>existing_emote</code></td>
|
|
873
|
-
|
|
874
876
|
|
|
875
|
-
<td class="type">
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
<span class="param-type"><a href="BTTVEmote.html">BTTVEmote</a></span>
|
|
879
877
|
|
|
880
878
|
|
|
881
879
|
|
|
882
|
-
|
|
883
|
-
</td>
|
|
884
880
|
|
|
885
|
-
|
|
886
|
-
<td class="attributes">
|
|
887
|
-
|
|
888
|
-
<optional><br>
|
|
889
|
-
|
|
890
881
|
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
</td>
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
<td class="default">
|
|
899
|
-
|
|
900
|
-
<code>null</code>
|
|
901
|
-
|
|
902
|
-
</td>
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
<td class="description last"><p>Existing emote to cache.</p></td>
|
|
906
|
-
</tr>
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
</tbody>
|
|
910
|
-
</table>
|
|
911
882
|
|
|
912
883
|
|
|
913
884
|
|
|
@@ -915,13 +886,36 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
915
886
|
|
|
916
887
|
|
|
917
888
|
|
|
889
|
+
<h5 class="h5-throws">Throws:</h5>
|
|
918
890
|
|
|
891
|
+
|
|
919
892
|
|
|
893
|
+
<dl>
|
|
894
|
+
<dt>
|
|
895
|
+
<div class="param-desc usertext">
|
|
896
|
+
<p>When Twitch Client ID or Client Secret were not provided.</p>
|
|
897
|
+
</div>
|
|
898
|
+
</dt>
|
|
899
|
+
<dd></dd>
|
|
900
|
+
<dt>
|
|
901
|
+
<dl class="param-type">
|
|
902
|
+
<dt>
|
|
903
|
+
Type
|
|
904
|
+
</dt>
|
|
905
|
+
<dd>
|
|
906
|
+
|
|
907
|
+
<span class="param-type">Error</span>
|
|
920
908
|
|
|
921
909
|
|
|
922
910
|
|
|
911
|
+
</dd>
|
|
912
|
+
</dl>
|
|
913
|
+
</dt>
|
|
914
|
+
<dd></dd>
|
|
915
|
+
</dl>
|
|
923
916
|
|
|
924
917
|
|
|
918
|
+
|
|
925
919
|
|
|
926
920
|
|
|
927
921
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -935,7 +929,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
935
929
|
</dt>
|
|
936
930
|
<dd>
|
|
937
931
|
|
|
938
|
-
<span class="param-type"><a href="
|
|
932
|
+
<span class="param-type"><a href="Channel.html">Channel</a></span>
|
|
939
933
|
|
|
940
934
|
|
|
941
935
|
|
|
@@ -951,7 +945,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
951
945
|
|
|
952
946
|
|
|
953
947
|
|
|
954
|
-
<h4 class="name" id="
|
|
948
|
+
<h4 class="name" id="_getRawTwitchEmotes"><span class="type-signature type-signature-private">(private) </span>_getRawTwitchEmotes<span class="signature">(id)</span><span class="type-signature"> → {Promise.<Array.<object>>}</span></h4>
|
|
955
949
|
|
|
956
950
|
|
|
957
951
|
|
|
@@ -961,13 +955,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
961
955
|
<dl class="details">
|
|
962
956
|
|
|
963
957
|
<dt class="tag-description">Description:</dt>
|
|
964
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
958
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Gets the raw Twitch emotes data for a channel.</p></li></ul></dd>
|
|
965
959
|
|
|
966
960
|
|
|
967
961
|
|
|
968
962
|
<dt class="tag-source">Source:</dt>
|
|
969
963
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
970
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
964
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line87">line 87</a>
|
|
971
965
|
</li></ul></dd>
|
|
972
966
|
|
|
973
967
|
|
|
@@ -1027,12 +1021,8 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1027
1021
|
<th>Type</th>
|
|
1028
1022
|
|
|
1029
1023
|
|
|
1030
|
-
<th>Attributes</th>
|
|
1031
|
-
|
|
1032
1024
|
|
|
1033
1025
|
|
|
1034
|
-
<th>Default</th>
|
|
1035
|
-
|
|
1036
1026
|
|
|
1037
1027
|
<th class="last">Description</th>
|
|
1038
1028
|
</tr>
|
|
@@ -1043,7 +1033,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1043
1033
|
|
|
1044
1034
|
<tr>
|
|
1045
1035
|
|
|
1046
|
-
<td class="name"><code>
|
|
1036
|
+
<td class="name"><code>id</code></td>
|
|
1047
1037
|
|
|
1048
1038
|
|
|
1049
1039
|
<td class="type">
|
|
@@ -1057,101 +1047,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1057
1047
|
</td>
|
|
1058
1048
|
|
|
1059
1049
|
|
|
1060
|
-
<td class="attributes">
|
|
1061
|
-
|
|
1062
1050
|
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
</td>
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
<td class="default">
|
|
1071
|
-
|
|
1072
|
-
</td>
|
|
1073
1051
|
|
|
1074
1052
|
|
|
1075
1053
|
<td class="description last"><p>ID of the channel.</p></td>
|
|
1076
1054
|
</tr>
|
|
1077
1055
|
|
|
1078
1056
|
|
|
1079
|
-
|
|
1080
|
-
<tr>
|
|
1081
|
-
|
|
1082
|
-
<td class="name"><code>data</code></td>
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
<td class="type">
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
<span class="param-type">object</span>
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
</td>
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
<td class="attributes">
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
</td>
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
<td class="default">
|
|
1107
|
-
|
|
1108
|
-
</td>
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
<td class="description last"><p>Raw data.</p></td>
|
|
1112
|
-
</tr>
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
<tr>
|
|
1117
|
-
|
|
1118
|
-
<td class="name"><code>existing_emote</code></td>
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
<td class="type">
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
<span class="param-type"><a href="FFZEmote.html">FFZEmote</a></span>
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
</td>
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
<td class="attributes">
|
|
1133
|
-
|
|
1134
|
-
<optional><br>
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
</td>
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
<td class="default">
|
|
1145
|
-
|
|
1146
|
-
<code>null</code>
|
|
1147
|
-
|
|
1148
|
-
</td>
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
<td class="description last"><p>Existing emote to cache.</p></td>
|
|
1152
|
-
</tr>
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
1057
|
</tbody>
|
|
1156
1058
|
</table>
|
|
1157
1059
|
|
|
@@ -1181,7 +1083,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1181
1083
|
</dt>
|
|
1182
1084
|
<dd>
|
|
1183
1085
|
|
|
1184
|
-
<span class="param-type"
|
|
1086
|
+
<span class="param-type">Promise.<Array.<object>></span>
|
|
1185
1087
|
|
|
1186
1088
|
|
|
1187
1089
|
|
|
@@ -1197,7 +1099,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1197
1099
|
|
|
1198
1100
|
|
|
1199
1101
|
|
|
1200
|
-
<h4 class="name" id="
|
|
1102
|
+
<h4 class="name" id="_cacheTwitchEmote"><span class="type-signature type-signature-private">(private) </span>_cacheTwitchEmote<span class="signature">(channel_id, data, existing_emote<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="TwitchEmote.html">TwitchEmote</a>}</span></h4>
|
|
1201
1103
|
|
|
1202
1104
|
|
|
1203
1105
|
|
|
@@ -1207,13 +1109,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1207
1109
|
<dl class="details">
|
|
1208
1110
|
|
|
1209
1111
|
<dt class="tag-description">Description:</dt>
|
|
1210
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Converts and caches a raw
|
|
1112
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Converts and caches a raw twitch emote.</p></li></ul></dd>
|
|
1211
1113
|
|
|
1212
1114
|
|
|
1213
1115
|
|
|
1214
1116
|
<dt class="tag-source">Source:</dt>
|
|
1215
1117
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1216
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1118
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line107">line 107</a>
|
|
1217
1119
|
</li></ul></dd>
|
|
1218
1120
|
|
|
1219
1121
|
|
|
@@ -1359,42 +1261,6 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1359
1261
|
|
|
1360
1262
|
|
|
1361
1263
|
|
|
1362
|
-
<tr>
|
|
1363
|
-
|
|
1364
|
-
<td class="name"><code>format</code></td>
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
<td class="type">
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
<span class="param-type">string</span>
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
</td>
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
<td class="attributes">
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
</td>
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
<td class="default">
|
|
1389
|
-
|
|
1390
|
-
</td>
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
<td class="description last"><p>The type file format to use (webp/avif).</p></td>
|
|
1394
|
-
</tr>
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
1264
|
<tr>
|
|
1399
1265
|
|
|
1400
1266
|
<td class="name"><code>existing_emote</code></td>
|
|
@@ -1403,7 +1269,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1403
1269
|
<td class="type">
|
|
1404
1270
|
|
|
1405
1271
|
|
|
1406
|
-
<span class="param-type"><a href="
|
|
1272
|
+
<span class="param-type"><a href="TwitchEmote.html">TwitchEmote</a></span>
|
|
1407
1273
|
|
|
1408
1274
|
|
|
1409
1275
|
|
|
@@ -1463,7 +1329,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1463
1329
|
</dt>
|
|
1464
1330
|
<dd>
|
|
1465
1331
|
|
|
1466
|
-
<span class="param-type"><a href="
|
|
1332
|
+
<span class="param-type"><a href="TwitchEmote.html">TwitchEmote</a></span>
|
|
1467
1333
|
|
|
1468
1334
|
|
|
1469
1335
|
|
|
@@ -1479,7 +1345,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1479
1345
|
|
|
1480
1346
|
|
|
1481
1347
|
|
|
1482
|
-
<h4 class="name" id="
|
|
1348
|
+
<h4 class="name" id="_getRawBTTVEmotes"><span class="type-signature type-signature-private">(private) </span>_getRawBTTVEmotes<span class="signature">(id<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<Array.<object>>}</span></h4>
|
|
1483
1349
|
|
|
1484
1350
|
|
|
1485
1351
|
|
|
@@ -1489,13 +1355,14 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1489
1355
|
<dl class="details">
|
|
1490
1356
|
|
|
1491
1357
|
<dt class="tag-description">Description:</dt>
|
|
1492
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
1358
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Gets the raw BTTV emotes data for a channel.<br>
|
|
1359
|
+
Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
1493
1360
|
|
|
1494
1361
|
|
|
1495
1362
|
|
|
1496
1363
|
<dt class="tag-source">Source:</dt>
|
|
1497
1364
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1498
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1365
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line122">line 122</a>
|
|
1499
1366
|
</li></ul></dd>
|
|
1500
1367
|
|
|
1501
1368
|
|
|
@@ -1571,7 +1438,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1571
1438
|
|
|
1572
1439
|
<tr>
|
|
1573
1440
|
|
|
1574
|
-
<td class="name"><code>
|
|
1441
|
+
<td class="name"><code>id</code></td>
|
|
1575
1442
|
|
|
1576
1443
|
|
|
1577
1444
|
<td class="type">
|
|
@@ -1582,78 +1449,6 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1582
1449
|
|
|
1583
1450
|
|
|
1584
1451
|
|
|
1585
|
-
</td>
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
<td class="attributes">
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
</td>
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
<td class="default">
|
|
1599
|
-
|
|
1600
|
-
</td>
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
<td class="description last"><p>ID of the channel.</p></td>
|
|
1604
|
-
</tr>
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
<tr>
|
|
1609
|
-
|
|
1610
|
-
<td class="name"><code>data</code></td>
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
<td class="type">
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
<span class="param-type">object</span>
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
</td>
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
<td class="attributes">
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
</td>
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
<td class="default">
|
|
1635
|
-
|
|
1636
|
-
</td>
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
<td class="description last"><p>Raw data.</p></td>
|
|
1640
|
-
</tr>
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
<tr>
|
|
1645
|
-
|
|
1646
|
-
<td class="name"><code>existing_emote</code></td>
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
<td class="type">
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
<span class="param-type"><a href="TwitchEmote.html">TwitchEmote</a></span>
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
1452
|
</td>
|
|
1658
1453
|
|
|
1659
1454
|
|
|
@@ -1676,7 +1471,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1676
1471
|
</td>
|
|
1677
1472
|
|
|
1678
1473
|
|
|
1679
|
-
<td class="description last"><p>
|
|
1474
|
+
<td class="description last"><p>ID of the channel.</p></td>
|
|
1680
1475
|
</tr>
|
|
1681
1476
|
|
|
1682
1477
|
|
|
@@ -1709,7 +1504,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1709
1504
|
</dt>
|
|
1710
1505
|
<dd>
|
|
1711
1506
|
|
|
1712
|
-
<span class="param-type"
|
|
1507
|
+
<span class="param-type">Promise.<Array.<object>></span>
|
|
1713
1508
|
|
|
1714
1509
|
|
|
1715
1510
|
|
|
@@ -1725,7 +1520,7 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1725
1520
|
|
|
1726
1521
|
|
|
1727
1522
|
|
|
1728
|
-
<h4 class="name" id="
|
|
1523
|
+
<h4 class="name" id="_cacheBTTVEmote"><span class="type-signature type-signature-private">(private) </span>_cacheBTTVEmote<span class="signature">(channel_id, data, existing_emote<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="BTTVEmote.html">BTTVEmote</a>}</span></h4>
|
|
1729
1524
|
|
|
1730
1525
|
|
|
1731
1526
|
|
|
@@ -1735,14 +1530,13 @@ Collectionped by emote code to Emote instance.</p>
|
|
|
1735
1530
|
<dl class="details">
|
|
1736
1531
|
|
|
1737
1532
|
<dt class="tag-description">Description:</dt>
|
|
1738
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
1739
|
-
Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
1533
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Converts and caches a raw BTTV emote.</p></li></ul></dd>
|
|
1740
1534
|
|
|
1741
1535
|
|
|
1742
1536
|
|
|
1743
1537
|
<dt class="tag-source">Source:</dt>
|
|
1744
1538
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1745
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
1539
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line143">line 143</a>
|
|
1746
1540
|
</li></ul></dd>
|
|
1747
1541
|
|
|
1748
1542
|
|
|
@@ -1818,7 +1612,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1818
1612
|
|
|
1819
1613
|
<tr>
|
|
1820
1614
|
|
|
1821
|
-
<td class="name"><code>
|
|
1615
|
+
<td class="name"><code>channel_id</code></td>
|
|
1822
1616
|
|
|
1823
1617
|
|
|
1824
1618
|
<td class="type">
|
|
@@ -1829,6 +1623,78 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1829
1623
|
|
|
1830
1624
|
|
|
1831
1625
|
|
|
1626
|
+
</td>
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
<td class="attributes">
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
</td>
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
<td class="default">
|
|
1640
|
+
|
|
1641
|
+
</td>
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
<td class="description last"><p>ID of the channel.</p></td>
|
|
1645
|
+
</tr>
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
<tr>
|
|
1650
|
+
|
|
1651
|
+
<td class="name"><code>data</code></td>
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
<td class="type">
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
<span class="param-type">object</span>
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
</td>
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
<td class="attributes">
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
</td>
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
<td class="default">
|
|
1676
|
+
|
|
1677
|
+
</td>
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
<td class="description last"><p>Raw data.</p></td>
|
|
1681
|
+
</tr>
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
<tr>
|
|
1686
|
+
|
|
1687
|
+
<td class="name"><code>existing_emote</code></td>
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
<td class="type">
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
<span class="param-type"><a href="BTTVEmote.html">BTTVEmote</a></span>
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
|
|
1832
1698
|
</td>
|
|
1833
1699
|
|
|
1834
1700
|
|
|
@@ -1851,7 +1717,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1851
1717
|
</td>
|
|
1852
1718
|
|
|
1853
1719
|
|
|
1854
|
-
<td class="description last"><p>
|
|
1720
|
+
<td class="description last"><p>Existing emote to cache.</p></td>
|
|
1855
1721
|
</tr>
|
|
1856
1722
|
|
|
1857
1723
|
|
|
@@ -1884,7 +1750,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
1884
1750
|
</dt>
|
|
1885
1751
|
<dd>
|
|
1886
1752
|
|
|
1887
|
-
<span class="param-type">
|
|
1753
|
+
<span class="param-type"><a href="BTTVEmote.html">BTTVEmote</a></span>
|
|
1888
1754
|
|
|
1889
1755
|
|
|
1890
1756
|
|
|
@@ -2208,7 +2074,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2208
2074
|
|
|
2209
2075
|
|
|
2210
2076
|
|
|
2211
|
-
<h4 class="name" id="
|
|
2077
|
+
<h4 class="name" id="_cacheFFZEmote"><span class="type-signature type-signature-private">(private) </span>_cacheFFZEmote<span class="signature">(channel_id, data, existing_emote<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="FFZEmote.html">FFZEmote</a>}</span></h4>
|
|
2212
2078
|
|
|
2213
2079
|
|
|
2214
2080
|
|
|
@@ -2218,13 +2084,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2218
2084
|
<dl class="details">
|
|
2219
2085
|
|
|
2220
2086
|
<dt class="tag-description">Description:</dt>
|
|
2221
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
2087
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Converts and caches a raw FFZ emote.</p></li></ul></dd>
|
|
2222
2088
|
|
|
2223
2089
|
|
|
2224
2090
|
|
|
2225
2091
|
<dt class="tag-source">Source:</dt>
|
|
2226
2092
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2227
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2093
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line193">line 193</a>
|
|
2228
2094
|
</li></ul></dd>
|
|
2229
2095
|
|
|
2230
2096
|
|
|
@@ -2300,7 +2166,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2300
2166
|
|
|
2301
2167
|
<tr>
|
|
2302
2168
|
|
|
2303
|
-
<td class="name"><code>
|
|
2169
|
+
<td class="name"><code>channel_id</code></td>
|
|
2304
2170
|
|
|
2305
2171
|
|
|
2306
2172
|
<td class="type">
|
|
@@ -2311,6 +2177,78 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2311
2177
|
|
|
2312
2178
|
|
|
2313
2179
|
|
|
2180
|
+
</td>
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
<td class="attributes">
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
</td>
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
<td class="default">
|
|
2194
|
+
|
|
2195
|
+
</td>
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
<td class="description last"><p>ID of the channel.</p></td>
|
|
2199
|
+
</tr>
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
<tr>
|
|
2204
|
+
|
|
2205
|
+
<td class="name"><code>data</code></td>
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
<td class="type">
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
<span class="param-type">object</span>
|
|
2212
|
+
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
</td>
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
<td class="attributes">
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
</td>
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
<td class="default">
|
|
2230
|
+
|
|
2231
|
+
</td>
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
<td class="description last"><p>Raw data.</p></td>
|
|
2235
|
+
</tr>
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
<tr>
|
|
2240
|
+
|
|
2241
|
+
<td class="name"><code>existing_emote</code></td>
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
<td class="type">
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
<span class="param-type"><a href="FFZEmote.html">FFZEmote</a></span>
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
|
|
2251
|
+
|
|
2314
2252
|
</td>
|
|
2315
2253
|
|
|
2316
2254
|
|
|
@@ -2333,7 +2271,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2333
2271
|
</td>
|
|
2334
2272
|
|
|
2335
2273
|
|
|
2336
|
-
<td class="description last"><p>
|
|
2274
|
+
<td class="description last"><p>Existing emote to cache.</p></td>
|
|
2337
2275
|
</tr>
|
|
2338
2276
|
|
|
2339
2277
|
|
|
@@ -2366,7 +2304,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2366
2304
|
</dt>
|
|
2367
2305
|
<dd>
|
|
2368
2306
|
|
|
2369
|
-
<span class="param-type">
|
|
2307
|
+
<span class="param-type"><a href="FFZEmote.html">FFZEmote</a></span>
|
|
2370
2308
|
|
|
2371
2309
|
|
|
2372
2310
|
|
|
@@ -2382,7 +2320,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2382
2320
|
|
|
2383
2321
|
|
|
2384
2322
|
|
|
2385
|
-
<h4 class="name" id="
|
|
2323
|
+
<h4 class="name" id="_getRawSevenTVEmotes"><span class="type-signature type-signature-private">(private) </span>_getRawSevenTVEmotes<span class="signature">(id<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<Array.<object>>}</span></h4>
|
|
2386
2324
|
|
|
2387
2325
|
|
|
2388
2326
|
|
|
@@ -2392,13 +2330,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2392
2330
|
<dl class="details">
|
|
2393
2331
|
|
|
2394
2332
|
<dt class="tag-description">Description:</dt>
|
|
2395
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Gets the raw
|
|
2333
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Gets the raw 7TV emotes data for a channel.</p></li></ul></dd>
|
|
2396
2334
|
|
|
2397
2335
|
|
|
2398
2336
|
|
|
2399
2337
|
<dt class="tag-source">Source:</dt>
|
|
2400
2338
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2401
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2339
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line207">line 207</a>
|
|
2402
2340
|
</li></ul></dd>
|
|
2403
2341
|
|
|
2404
2342
|
|
|
@@ -2458,8 +2396,12 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2458
2396
|
<th>Type</th>
|
|
2459
2397
|
|
|
2460
2398
|
|
|
2399
|
+
<th>Attributes</th>
|
|
2400
|
+
|
|
2461
2401
|
|
|
2462
2402
|
|
|
2403
|
+
<th>Default</th>
|
|
2404
|
+
|
|
2463
2405
|
|
|
2464
2406
|
<th class="last">Description</th>
|
|
2465
2407
|
</tr>
|
|
@@ -2484,8 +2426,24 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2484
2426
|
</td>
|
|
2485
2427
|
|
|
2486
2428
|
|
|
2429
|
+
<td class="attributes">
|
|
2430
|
+
|
|
2431
|
+
<optional><br>
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
</td>
|
|
2438
|
+
|
|
2487
2439
|
|
|
2488
2440
|
|
|
2441
|
+
<td class="default">
|
|
2442
|
+
|
|
2443
|
+
<code>null</code>
|
|
2444
|
+
|
|
2445
|
+
</td>
|
|
2446
|
+
|
|
2489
2447
|
|
|
2490
2448
|
<td class="description last"><p>ID of the channel.</p></td>
|
|
2491
2449
|
</tr>
|
|
@@ -2536,7 +2494,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2536
2494
|
|
|
2537
2495
|
|
|
2538
2496
|
|
|
2539
|
-
<h4 class="name" id="
|
|
2497
|
+
<h4 class="name" id="_cacheSevenTVEmote"><span class="type-signature type-signature-private">(private) </span>_cacheSevenTVEmote<span class="signature">(channel_id, data, format, existing_emote<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="SevenTVEmote.html">SevenTVEmote</a>}</span></h4>
|
|
2540
2498
|
|
|
2541
2499
|
|
|
2542
2500
|
|
|
@@ -2546,13 +2504,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2546
2504
|
<dl class="details">
|
|
2547
2505
|
|
|
2548
2506
|
<dt class="tag-description">Description:</dt>
|
|
2549
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
2507
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Converts and caches a raw 7TV emote.</p></li></ul></dd>
|
|
2550
2508
|
|
|
2551
2509
|
|
|
2552
2510
|
|
|
2553
2511
|
<dt class="tag-source">Source:</dt>
|
|
2554
2512
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2555
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2513
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line224">line 224</a>
|
|
2556
2514
|
</li></ul></dd>
|
|
2557
2515
|
|
|
2558
2516
|
|
|
@@ -2662,6 +2620,42 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2662
2620
|
|
|
2663
2621
|
|
|
2664
2622
|
|
|
2623
|
+
<tr>
|
|
2624
|
+
|
|
2625
|
+
<td class="name"><code>data</code></td>
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
<td class="type">
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
<span class="param-type">object</span>
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
</td>
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
<td class="attributes">
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
</td>
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
<td class="default">
|
|
2650
|
+
|
|
2651
|
+
</td>
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
<td class="description last"><p>Raw data.</p></td>
|
|
2655
|
+
</tr>
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
|
|
2665
2659
|
<tr>
|
|
2666
2660
|
|
|
2667
2661
|
<td class="name"><code>format</code></td>
|
|
@@ -2680,8 +2674,6 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2680
2674
|
|
|
2681
2675
|
<td class="attributes">
|
|
2682
2676
|
|
|
2683
|
-
<optional><br>
|
|
2684
|
-
|
|
2685
2677
|
|
|
2686
2678
|
|
|
2687
2679
|
|
|
@@ -2692,8 +2684,6 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2692
2684
|
|
|
2693
2685
|
<td class="default">
|
|
2694
2686
|
|
|
2695
|
-
<code>null</code>
|
|
2696
|
-
|
|
2697
2687
|
</td>
|
|
2698
2688
|
|
|
2699
2689
|
|
|
@@ -2701,15 +2691,48 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2701
2691
|
</tr>
|
|
2702
2692
|
|
|
2703
2693
|
|
|
2704
|
-
</tbody>
|
|
2705
|
-
</table>
|
|
2706
2694
|
|
|
2695
|
+
<tr>
|
|
2696
|
+
|
|
2697
|
+
<td class="name"><code>existing_emote</code></td>
|
|
2698
|
+
|
|
2707
2699
|
|
|
2700
|
+
<td class="type">
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
<span class="param-type"><a href="SevenTVEmote.html">SevenTVEmote</a></span>
|
|
2708
2704
|
|
|
2709
2705
|
|
|
2710
2706
|
|
|
2707
|
+
|
|
2708
|
+
</td>
|
|
2711
2709
|
|
|
2710
|
+
|
|
2711
|
+
<td class="attributes">
|
|
2712
|
+
|
|
2713
|
+
<optional><br>
|
|
2714
|
+
|
|
2712
2715
|
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
</td>
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
<td class="default">
|
|
2724
|
+
|
|
2725
|
+
<code>null</code>
|
|
2726
|
+
|
|
2727
|
+
</td>
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
<td class="description last"><p>Existing emote to cache.</p></td>
|
|
2731
|
+
</tr>
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
</tbody>
|
|
2735
|
+
</table>
|
|
2713
2736
|
|
|
2714
2737
|
|
|
2715
2738
|
|
|
@@ -2717,36 +2740,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2717
2740
|
|
|
2718
2741
|
|
|
2719
2742
|
|
|
2720
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
2721
2743
|
|
|
2722
|
-
|
|
2723
2744
|
|
|
2724
|
-
<dl>
|
|
2725
|
-
<dt>
|
|
2726
|
-
<div class="param-desc usertext">
|
|
2727
|
-
<p>When Twitch Client ID or Client Secret were not provided.</p>
|
|
2728
|
-
</div>
|
|
2729
|
-
</dt>
|
|
2730
|
-
<dd></dd>
|
|
2731
|
-
<dt>
|
|
2732
|
-
<dl class="param-type">
|
|
2733
|
-
<dt>
|
|
2734
|
-
Type
|
|
2735
|
-
</dt>
|
|
2736
|
-
<dd>
|
|
2737
|
-
|
|
2738
|
-
<span class="param-type">Error</span>
|
|
2739
2745
|
|
|
2740
2746
|
|
|
2741
2747
|
|
|
2742
|
-
</dd>
|
|
2743
|
-
</dl>
|
|
2744
|
-
</dt>
|
|
2745
|
-
<dd></dd>
|
|
2746
|
-
</dl>
|
|
2747
2748
|
|
|
2748
2749
|
|
|
2749
|
-
|
|
2750
2750
|
|
|
2751
2751
|
|
|
2752
2752
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -2760,7 +2760,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2760
2760
|
</dt>
|
|
2761
2761
|
<dd>
|
|
2762
2762
|
|
|
2763
|
-
<span class="param-type"><a href="
|
|
2763
|
+
<span class="param-type"><a href="SevenTVEmote.html">SevenTVEmote</a></span>
|
|
2764
2764
|
|
|
2765
2765
|
|
|
2766
2766
|
|
|
@@ -2776,7 +2776,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2776
2776
|
|
|
2777
2777
|
|
|
2778
2778
|
|
|
2779
|
-
<h4 class="name" id="
|
|
2779
|
+
<h4 class="name" id="fetchTwitchEmotes"><span class="type-signature"></span>fetchTwitchEmotes<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="TwitchEmote.html">TwitchEmote</a>>>}</span></h4>
|
|
2780
2780
|
|
|
2781
2781
|
|
|
2782
2782
|
|
|
@@ -2786,14 +2786,14 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2786
2786
|
<dl class="details">
|
|
2787
2787
|
|
|
2788
2788
|
<dt class="tag-description">Description:</dt>
|
|
2789
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the
|
|
2789
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the Twitch emotes for a channel.<br>
|
|
2790
2790
|
Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
2791
2791
|
|
|
2792
2792
|
|
|
2793
2793
|
|
|
2794
2794
|
<dt class="tag-source">Source:</dt>
|
|
2795
2795
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2796
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2796
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line238">line 238</a>
|
|
2797
2797
|
</li></ul></dd>
|
|
2798
2798
|
|
|
2799
2799
|
|
|
@@ -2935,7 +2935,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2935
2935
|
</dt>
|
|
2936
2936
|
<dd>
|
|
2937
2937
|
|
|
2938
|
-
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="
|
|
2938
|
+
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="TwitchEmote.html">TwitchEmote</a>>></span>
|
|
2939
2939
|
|
|
2940
2940
|
|
|
2941
2941
|
|
|
@@ -2951,7 +2951,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2951
2951
|
|
|
2952
2952
|
|
|
2953
2953
|
|
|
2954
|
-
<h4 class="name" id="
|
|
2954
|
+
<h4 class="name" id="fetchBTTVEmotes"><span class="type-signature"></span>fetchBTTVEmotes<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="BTTVEmote.html">BTTVEmote</a>>>}</span></h4>
|
|
2955
2955
|
|
|
2956
2956
|
|
|
2957
2957
|
|
|
@@ -2961,13 +2961,14 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
2961
2961
|
<dl class="details">
|
|
2962
2962
|
|
|
2963
2963
|
<dt class="tag-description">Description:</dt>
|
|
2964
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the
|
|
2964
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the BTTV emotes for a channel.<br>
|
|
2965
|
+
Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
2965
2966
|
|
|
2966
2967
|
|
|
2967
2968
|
|
|
2968
2969
|
<dt class="tag-source">Source:</dt>
|
|
2969
2970
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2970
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
2971
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line256">line 256</a>
|
|
2971
2972
|
</li></ul></dd>
|
|
2972
2973
|
|
|
2973
2974
|
|
|
@@ -3109,7 +3110,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3109
3110
|
</dt>
|
|
3110
3111
|
<dd>
|
|
3111
3112
|
|
|
3112
|
-
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="
|
|
3113
|
+
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="BTTVEmote.html">BTTVEmote</a>>></span>
|
|
3113
3114
|
|
|
3114
3115
|
|
|
3115
3116
|
|
|
@@ -3125,7 +3126,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3125
3126
|
|
|
3126
3127
|
|
|
3127
3128
|
|
|
3128
|
-
<h4 class="name" id="
|
|
3129
|
+
<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>
|
|
3129
3130
|
|
|
3130
3131
|
|
|
3131
3132
|
|
|
@@ -3135,13 +3136,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3135
3136
|
<dl class="details">
|
|
3136
3137
|
|
|
3137
3138
|
<dt class="tag-description">Description:</dt>
|
|
3138
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the
|
|
3139
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the FFZ emotes for a channel.</p></li></ul></dd>
|
|
3139
3140
|
|
|
3140
3141
|
|
|
3141
3142
|
|
|
3142
3143
|
<dt class="tag-source">Source:</dt>
|
|
3143
3144
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3144
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
3145
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line271">line 271</a>
|
|
3145
3146
|
</li></ul></dd>
|
|
3146
3147
|
|
|
3147
3148
|
|
|
@@ -3254,49 +3255,6 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3254
3255
|
</tr>
|
|
3255
3256
|
|
|
3256
3257
|
|
|
3257
|
-
|
|
3258
|
-
<tr>
|
|
3259
|
-
|
|
3260
|
-
<td class="name"><code>format</code></td>
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
<td class="type">
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
<span class="param-type">'webp'</span>
|
|
3267
|
-
|
|
|
3268
|
-
|
|
3269
|
-
<span class="param-type">'avif'</span>
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
</td>
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
<td class="attributes">
|
|
3278
|
-
|
|
3279
|
-
<optional><br>
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
</td>
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
<td class="default">
|
|
3290
|
-
|
|
3291
|
-
<code>'webp'</code>
|
|
3292
|
-
|
|
3293
|
-
</td>
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
<td class="description last"><p>The type file format to use (webp/avif).</p></td>
|
|
3297
|
-
</tr>
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
3258
|
</tbody>
|
|
3301
3259
|
</table>
|
|
3302
3260
|
|
|
@@ -3326,7 +3284,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3326
3284
|
</dt>
|
|
3327
3285
|
<dd>
|
|
3328
3286
|
|
|
3329
|
-
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="
|
|
3287
|
+
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="FFZEmote.html">FFZEmote</a>>></span>
|
|
3330
3288
|
|
|
3331
3289
|
|
|
3332
3290
|
|
|
@@ -3342,7 +3300,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3342
3300
|
|
|
3343
3301
|
|
|
3344
3302
|
|
|
3345
|
-
<h4 class="name" id="
|
|
3303
|
+
<h4 class="name" id="fetchSevenTVEmotes"><span class="type-signature"></span>fetchSevenTVEmotes<span class="signature">(channel<span class="signature-attributes">opt</span>, format<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<<a href="Collection.html">Collection</a>.<string, <a href="SevenTVEmote.html">SevenTVEmote</a>>>}</span></h4>
|
|
3346
3304
|
|
|
3347
3305
|
|
|
3348
3306
|
|
|
@@ -3352,14 +3310,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3352
3310
|
<dl class="details">
|
|
3353
3311
|
|
|
3354
3312
|
<dt class="tag-description">Description:</dt>
|
|
3355
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the
|
|
3356
|
-
Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
3313
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Fetches the 7TV emotes for a channel.</p></li></ul></dd>
|
|
3357
3314
|
|
|
3358
3315
|
|
|
3359
3316
|
|
|
3360
3317
|
<dt class="tag-source">Source:</dt>
|
|
3361
3318
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3362
|
-
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#
|
|
3319
|
+
<a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line309">line 309</a>
|
|
3363
3320
|
</li></ul></dd>
|
|
3364
3321
|
|
|
3365
3322
|
|
|
@@ -3472,6 +3429,49 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3472
3429
|
</tr>
|
|
3473
3430
|
|
|
3474
3431
|
|
|
3432
|
+
|
|
3433
|
+
<tr>
|
|
3434
|
+
|
|
3435
|
+
<td class="name"><code>format</code></td>
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
<td class="type">
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
<span class="param-type">'webp'</span>
|
|
3442
|
+
|
|
|
3443
|
+
|
|
3444
|
+
<span class="param-type">'avif'</span>
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
|
|
3449
|
+
</td>
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
<td class="attributes">
|
|
3453
|
+
|
|
3454
|
+
<optional><br>
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
</td>
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
<td class="default">
|
|
3465
|
+
|
|
3466
|
+
<code>'webp'</code>
|
|
3467
|
+
|
|
3468
|
+
</td>
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
<td class="description last"><p>The type file format to use (webp/avif).</p></td>
|
|
3472
|
+
</tr>
|
|
3473
|
+
|
|
3474
|
+
|
|
3475
3475
|
</tbody>
|
|
3476
3476
|
</table>
|
|
3477
3477
|
|
|
@@ -3501,7 +3501,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
|
|
|
3501
3501
|
</dt>
|
|
3502
3502
|
<dd>
|
|
3503
3503
|
|
|
3504
|
-
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="
|
|
3504
|
+
<span class="param-type">Promise.<<a href="Collection.html">Collection</a>.<string, <a href="SevenTVEmote.html">SevenTVEmote</a>>></span>
|
|
3505
3505
|
|
|
3506
3506
|
|
|
3507
3507
|
|