diff options
Diffstat (limited to 'recipes/twitch')
-rw-r--r-- | recipes/twitch/index.js | 2 | ||||
-rw-r--r-- | recipes/twitch/package.json | 2 | ||||
-rw-r--r-- | recipes/twitch/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/twitch/index.js b/recipes/twitch/index.js index 23607bd..dd41f72 100644 --- a/recipes/twitch/index.js +++ b/recipes/twitch/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/twitch/package.json b/recipes/twitch/package.json index 7192484..d9efe7d 100644 --- a/recipes/twitch/package.json +++ b/recipes/twitch/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "twitch", | 2 | "id": "twitch", |
3 | "name": "Twitch", | 3 | "name": "Twitch", |
4 | "version": "1.1.0", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.twitch.tv/{teamId}/chat", | 7 | "serviceURL": "https://www.twitch.tv/{teamId}/chat", |
diff --git a/recipes/twitch/webview.js b/recipes/twitch/webview.js index 697efa6..0652545 100644 --- a/recipes/twitch/webview.js +++ b/recipes/twitch/webview.js | |||
@@ -1,8 +1,8 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const mentions = document.querySelectorAll('.chat-line .mentioned').length; | 3 | const mentions = document.querySelectorAll('.chat-line .mentioned').length; |
4 | Ferdi.setBadge(mentions, 0); | 4 | Ferdium.setBadge(mentions, 0); |
5 | }; | 5 | }; |
6 | 6 | ||
7 | Ferdi.loop(getMessages); | 7 | Ferdium.loop(getMessages); |
8 | }; | 8 | }; |