@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.
@@ -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="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#toObject">toObject</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#_setupChannel">_setupChannel</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><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></ul>
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="channels"><span class="type-signature"></span>channels<span class="type-signature"> :<a href="Collection.html">Collection</a>.&lt;string, <a href="Channel.html">Channel</a>></span></h4>
383
+ <h4 class="name" id="emotes"><span class="type-signature"></span>emotes<span class="type-signature"> :<a href="Collection.html">Collection</a>.&lt;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 channels.<br>
393
- Collectionped by name to Channel instance.</p></li></ul></dd>
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#line45">line 45</a>
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 channels.<br>
440
- Collectionped by name to Channel instance.</p>
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>.&lt;string, <a href="Channel.html">Channel</a>></span>
449
+ <span class="param-type"><a href="Collection.html">Collection</a>.&lt;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="emotes"><span class="type-signature"></span>emotes<span class="type-signature"> :<a href="Collection.html">Collection</a>.&lt;string, <a href="Emote.html">Emote</a>></span></h4>
463
+ <h4 class="name" id="channels"><span class="type-signature"></span>channels<span class="type-signature"> :<a href="Collection.html">Collection</a>.&lt;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 emotes.<br>
473
- Collectionped by emote code to Emote instance.</p></li></ul></dd>
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#line38">line 38</a>
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 emotes.<br>
520
- Collectionped by emote code to Emote instance.</p>
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>.&lt;string, <a href="Emote.html">Emote</a>></span>
529
+ <span class="param-type"><a href="Collection.html">Collection</a>.&lt;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="_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"> &rarr; {<a href="BTTVEmote.html">BTTVEmote</a>}</span></h4>
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"> &rarr; {<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>Converts and caches a raw BTTV emote.</p></li></ul></dd>
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#line142">line 142</a>
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>data</code></td>
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">object</span>
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
+ &lt;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>Raw data.</p></td>
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
- &lt;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="BTTVEmote.html">BTTVEmote</a></span>
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="_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"> &rarr; {<a href="FFZEmote.html">FFZEmote</a>}</span></h4>
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"> &rarr; {Promise.&lt;Array.&lt;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>Converts and caches a raw FFZ emote.</p></li></ul></dd>
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#line192">line 192</a>
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>channel_id</code></td>
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
- &lt;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"><a href="FFZEmote.html">FFZEmote</a></span>
1086
+ <span class="param-type">Promise.&lt;Array.&lt;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="_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"> &rarr; {<a href="SevenTVEmote.html">SevenTVEmote</a>}</span></h4>
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"> &rarr; {<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 7TV emote.</p></li></ul></dd>
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#line223">line 223</a>
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="SevenTVEmote.html">SevenTVEmote</a></span>
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="SevenTVEmote.html">SevenTVEmote</a></span>
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="_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"> &rarr; {<a href="TwitchEmote.html">TwitchEmote</a>}</span></h4>
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"> &rarr; {Promise.&lt;Array.&lt;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>Converts and caches a raw twitch emote.</p></li></ul></dd>
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#line106">line 106</a>
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>channel_id</code></td>
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>Existing emote to cache.</p></td>
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"><a href="TwitchEmote.html">TwitchEmote</a></span>
1507
+ <span class="param-type">Promise.&lt;Array.&lt;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="_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"> &rarr; {Promise.&lt;Array.&lt;object>>}</span></h4>
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"> &rarr; {<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>Gets the raw BTTV emotes data for a channel.<br>
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#line121">line 121</a>
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>id</code></td>
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>ID of the channel.</p></td>
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">Promise.&lt;Array.&lt;object>></span>
1753
+ <span class="param-type"><a href="BTTVEmote.html">BTTVEmote</a></span>
1888
1754
 
1889
1755
 
1890
1756
 
@@ -1916,7 +1782,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
1916
1782
 
1917
1783
  <dt class="tag-source">Source:</dt>
1918
1784
  <dd class="tag-source"><ul class="dummy"><li>
1919
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line156">line 156</a>
1785
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line157">line 157</a>
1920
1786
  </li></ul></dd>
1921
1787
 
1922
1788
 
@@ -2070,7 +1936,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2070
1936
 
2071
1937
  <dt class="tag-source">Source:</dt>
2072
1938
  <dd class="tag-source"><ul class="dummy"><li>
2073
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line170">line 170</a>
1939
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line171">line 171</a>
2074
1940
  </li></ul></dd>
2075
1941
 
2076
1942
 
@@ -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="_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"> &rarr; {Promise.&lt;Array.&lt;object>>}</span></h4>
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"> &rarr; {<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>Gets the raw 7TV emotes data for a channel.</p></li></ul></dd>
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#line206">line 206</a>
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
 
@@ -2287,26 +2153,98 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2287
2153
  <th>Attributes</th>
2288
2154
 
2289
2155
 
2290
-
2291
- <th>Default</th>
2292
-
2156
+
2157
+ <th>Default</th>
2158
+
2159
+
2160
+ <th class="last">Description</th>
2161
+ </tr>
2162
+ </thead>
2163
+
2164
+ <tbody>
2165
+
2166
+
2167
+ <tr>
2168
+
2169
+ <td class="name"><code>channel_id</code></td>
2170
+
2171
+
2172
+ <td class="type">
2173
+
2174
+
2175
+ <span class="param-type">int</span>
2176
+
2177
+
2178
+
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
+
2293
2233
 
2294
- <th class="last">Description</th>
2295
- </tr>
2296
- </thead>
2234
+ <td class="description last"><p>Raw data.</p></td>
2235
+ </tr>
2297
2236
 
2298
- <tbody>
2299
2237
 
2300
2238
 
2301
2239
  <tr>
2302
2240
 
2303
- <td class="name"><code>id</code></td>
2241
+ <td class="name"><code>existing_emote</code></td>
2304
2242
 
2305
2243
 
2306
2244
  <td class="type">
2307
2245
 
2308
2246
 
2309
- <span class="param-type">int</span>
2247
+ <span class="param-type"><a href="FFZEmote.html">FFZEmote</a></span>
2310
2248
 
2311
2249
 
2312
2250
 
@@ -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>ID of the channel.</p></td>
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">Promise.&lt;Array.&lt;object>></span>
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="_getRawTwitchEmotes"><span class="type-signature type-signature-private">(private) </span>_getRawTwitchEmotes<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;object>>}</span></h4>
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"> &rarr; {Promise.&lt;Array.&lt;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 Twitch emotes data for a channel.</p></li></ul></dd>
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#line86">line 86</a>
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
+ &lt;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="_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"> &rarr; {<a href="Channel.html">Channel</a>}</span></h4>
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"> &rarr; {<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>Sets up a channel</p></li></ul></dd>
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#line70">line 70</a>
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>
@@ -2675,6 +2669,42 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2675
2669
 
2676
2670
 
2677
2671
 
2672
+ </td>
2673
+
2674
+
2675
+ <td class="attributes">
2676
+
2677
+
2678
+
2679
+
2680
+
2681
+ </td>
2682
+
2683
+
2684
+
2685
+ <td class="default">
2686
+
2687
+ </td>
2688
+
2689
+
2690
+ <td class="description last"><p>The type file format to use (webp/avif).</p></td>
2691
+ </tr>
2692
+
2693
+
2694
+
2695
+ <tr>
2696
+
2697
+ <td class="name"><code>existing_emote</code></td>
2698
+
2699
+
2700
+ <td class="type">
2701
+
2702
+
2703
+ <span class="param-type"><a href="SevenTVEmote.html">SevenTVEmote</a></span>
2704
+
2705
+
2706
+
2707
+
2678
2708
  </td>
2679
2709
 
2680
2710
 
@@ -2697,7 +2727,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2697
2727
  </td>
2698
2728
 
2699
2729
 
2700
- <td class="description last"><p>The type file format to use (webp/avif).</p></td>
2730
+ <td class="description last"><p>Existing emote to cache.</p></td>
2701
2731
  </tr>
2702
2732
 
2703
2733
 
@@ -2730,7 +2760,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2730
2760
  </dt>
2731
2761
  <dd>
2732
2762
 
2733
- <span class="param-type"><a href="Channel.html">Channel</a></span>
2763
+ <span class="param-type"><a href="SevenTVEmote.html">SevenTVEmote</a></span>
2734
2764
 
2735
2765
 
2736
2766
 
@@ -2746,7 +2776,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2746
2776
 
2747
2777
 
2748
2778
 
2749
- <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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="BTTVEmote.html">BTTVEmote</a>>>}</span></h4>
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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="TwitchEmote.html">TwitchEmote</a>>>}</span></h4>
2750
2780
 
2751
2781
 
2752
2782
 
@@ -2756,14 +2786,14 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2756
2786
  <dl class="details">
2757
2787
 
2758
2788
  <dt class="tag-description">Description:</dt>
2759
- <dd class="tag-description"><ul class="dummy"><li><p>Fetches the BTTV emotes for a channel.<br>
2789
+ <dd class="tag-description"><ul class="dummy"><li><p>Fetches the Twitch emotes for a channel.<br>
2760
2790
  Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2761
2791
 
2762
2792
 
2763
2793
 
2764
2794
  <dt class="tag-source">Source:</dt>
2765
2795
  <dd class="tag-source"><ul class="dummy"><li>
2766
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line255">line 255</a>
2796
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line238">line 238</a>
2767
2797
  </li></ul></dd>
2768
2798
 
2769
2799
 
@@ -2905,7 +2935,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2905
2935
  </dt>
2906
2936
  <dd>
2907
2937
 
2908
- <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="BTTVEmote.html">BTTVEmote</a>>></span>
2938
+ <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="TwitchEmote.html">TwitchEmote</a>>></span>
2909
2939
 
2910
2940
 
2911
2941
 
@@ -2921,7 +2951,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2921
2951
 
2922
2952
 
2923
2953
 
2924
- <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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="FFZEmote.html">FFZEmote</a>>>}</span></h4>
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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="BTTVEmote.html">BTTVEmote</a>>>}</span></h4>
2925
2955
 
2926
2956
 
2927
2957
 
@@ -2931,13 +2961,14 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
2931
2961
  <dl class="details">
2932
2962
 
2933
2963
  <dt class="tag-description">Description:</dt>
2934
- <dd class="tag-description"><ul class="dummy"><li><p>Fetches the FFZ emotes for a channel.</p></li></ul></dd>
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>
2935
2966
 
2936
2967
 
2937
2968
 
2938
2969
  <dt class="tag-source">Source:</dt>
2939
2970
  <dd class="tag-source"><ul class="dummy"><li>
2940
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line270">line 270</a>
2971
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line256">line 256</a>
2941
2972
  </li></ul></dd>
2942
2973
 
2943
2974
 
@@ -3079,7 +3110,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3079
3110
  </dt>
3080
3111
  <dd>
3081
3112
 
3082
- <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="FFZEmote.html">FFZEmote</a>>></span>
3113
+ <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="BTTVEmote.html">BTTVEmote</a>>></span>
3083
3114
 
3084
3115
 
3085
3116
 
@@ -3095,7 +3126,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3095
3126
 
3096
3127
 
3097
3128
 
3098
- <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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="SevenTVEmote.html">SevenTVEmote</a>>>}</span></h4>
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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="FFZEmote.html">FFZEmote</a>>>}</span></h4>
3099
3130
 
3100
3131
 
3101
3132
 
@@ -3105,13 +3136,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3105
3136
  <dl class="details">
3106
3137
 
3107
3138
  <dt class="tag-description">Description:</dt>
3108
- <dd class="tag-description"><ul class="dummy"><li><p>Fetches the 7TV emotes for a channel.</p></li></ul></dd>
3139
+ <dd class="tag-description"><ul class="dummy"><li><p>Fetches the FFZ emotes for a channel.</p></li></ul></dd>
3109
3140
 
3110
3141
 
3111
3142
 
3112
3143
  <dt class="tag-source">Source:</dt>
3113
3144
  <dd class="tag-source"><ul class="dummy"><li>
3114
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line308">line 308</a>
3145
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line271">line 271</a>
3115
3146
  </li></ul></dd>
3116
3147
 
3117
3148
 
@@ -3224,49 +3255,6 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3224
3255
  </tr>
3225
3256
 
3226
3257
 
3227
-
3228
- <tr>
3229
-
3230
- <td class="name"><code>format</code></td>
3231
-
3232
-
3233
- <td class="type">
3234
-
3235
-
3236
- <span class="param-type">'webp'</span>
3237
- |
3238
-
3239
- <span class="param-type">'avif'</span>
3240
-
3241
-
3242
-
3243
-
3244
- </td>
3245
-
3246
-
3247
- <td class="attributes">
3248
-
3249
- &lt;optional><br>
3250
-
3251
-
3252
-
3253
-
3254
-
3255
- </td>
3256
-
3257
-
3258
-
3259
- <td class="default">
3260
-
3261
- <code>'webp'</code>
3262
-
3263
- </td>
3264
-
3265
-
3266
- <td class="description last"><p>The type file format to use (webp/avif).</p></td>
3267
- </tr>
3268
-
3269
-
3270
3258
  </tbody>
3271
3259
  </table>
3272
3260
 
@@ -3296,7 +3284,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3296
3284
  </dt>
3297
3285
  <dd>
3298
3286
 
3299
- <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="SevenTVEmote.html">SevenTVEmote</a>>></span>
3287
+ <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="FFZEmote.html">FFZEmote</a>>></span>
3300
3288
 
3301
3289
 
3302
3290
 
@@ -3312,7 +3300,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3312
3300
 
3313
3301
 
3314
3302
 
3315
- <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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="TwitchEmote.html">TwitchEmote</a>>>}</span></h4>
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"> &rarr; {Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="SevenTVEmote.html">SevenTVEmote</a>>>}</span></h4>
3316
3304
 
3317
3305
 
3318
3306
 
@@ -3322,14 +3310,13 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3322
3310
  <dl class="details">
3323
3311
 
3324
3312
  <dt class="tag-description">Description:</dt>
3325
- <dd class="tag-description"><ul class="dummy"><li><p>Fetches the Twitch emotes for a channel.<br>
3326
- 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>
3327
3314
 
3328
3315
 
3329
3316
 
3330
3317
  <dt class="tag-source">Source:</dt>
3331
3318
  <dd class="tag-source"><ul class="dummy"><li>
3332
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line237">line 237</a>
3319
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line309">line 309</a>
3333
3320
  </li></ul></dd>
3334
3321
 
3335
3322
 
@@ -3442,6 +3429,49 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3442
3429
  </tr>
3443
3430
 
3444
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
+ &lt;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
+
3445
3475
  </tbody>
3446
3476
  </table>
3447
3477
 
@@ -3471,7 +3501,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3471
3501
  </dt>
3472
3502
  <dd>
3473
3503
 
3474
- <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="TwitchEmote.html">TwitchEmote</a>>></span>
3504
+ <span class="param-type">Promise.&lt;<a href="Collection.html">Collection</a>.&lt;string, <a href="SevenTVEmote.html">SevenTVEmote</a>>></span>
3475
3505
 
3476
3506
 
3477
3507
 
@@ -3503,7 +3533,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3503
3533
 
3504
3534
  <dt class="tag-source">Source:</dt>
3505
3535
  <dd class="tag-source"><ul class="dummy"><li>
3506
- <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line331">line 331</a>
3536
+ <a href="struct_EmoteFetcher.js.html">struct/EmoteFetcher.js</a>, <a href="struct_EmoteFetcher.js.html#line333">line 333</a>
3507
3537
  </li></ul></dd>
3508
3538
 
3509
3539
 
@@ -3624,6 +3654,36 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3624
3654
 
3625
3655
 
3626
3656
 
3657
+ <h5 class="h5-throws">Throws:</h5>
3658
+
3659
+
3660
+
3661
+ <dl>
3662
+ <dt>
3663
+ <div class="param-desc usertext">
3664
+ <p>When an emote has an unknown type.</p>
3665
+ </div>
3666
+ </dt>
3667
+ <dd></dd>
3668
+ <dt>
3669
+ <dl class="param-type">
3670
+ <dt>
3671
+ Type
3672
+ </dt>
3673
+ <dd>
3674
+
3675
+ <span class="param-type">TypeError</span>
3676
+
3677
+
3678
+
3679
+ </dd>
3680
+ </dl>
3681
+ </dt>
3682
+ <dd></dd>
3683
+ </dl>
3684
+
3685
+
3686
+
3627
3687
 
3628
3688
 
3629
3689
  <h5 class="h5-returns">Returns:</h5>
@@ -3668,7 +3728,7 @@ Use <code>null</code> for the global emotes channel.</p></li></ul></dd>
3668
3728
  <br class="clear">
3669
3729
 
3670
3730
  <footer>
3671
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3731
+ 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.
3672
3732
  </footer>
3673
3733
 
3674
3734
  <script>prettyPrint();</script>