summaryrefslogtreecommitdiff
path: root/extension.js
diff options
context:
space:
mode:
Diffstat (limited to 'extension.js')
-rw-r--r--extension.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/extension.js b/extension.js
index f910541..756c75e 100644
--- a/extension.js
+++ b/extension.js
@@ -3,7 +3,16 @@ const start = () => {
if (document.querySelector("div[data-a-target=chat-input]") == null) {
return;
}
- console.log(getChannelName());
+
+ const channelName = getChannelName();
+ if (!channelName) {
+ return;
+ }
+
+ getTinyEmotesUserByName("https://alright.party", channelName)
+ .then((x) => {
+ console.log(x);
+ });
};
function onPageReady(cb) {