diff options
Diffstat (limited to 'uncompressed/guilded')
-rw-r--r-- | uncompressed/guilded/README.md | 8 | ||||
-rw-r--r-- | uncompressed/guilded/icon.png | bin | 13670 -> 0 bytes | |||
-rw-r--r-- | uncompressed/guilded/icon.svg | 9 | ||||
-rw-r--r-- | uncompressed/guilded/index.js | 3 | ||||
-rw-r--r-- | uncompressed/guilded/package.json | 14 | ||||
-rw-r--r-- | uncompressed/guilded/webview.js | 15 |
6 files changed, 0 insertions, 49 deletions
diff --git a/uncompressed/guilded/README.md b/uncompressed/guilded/README.md deleted file mode 100644 index caba8cf..0000000 --- a/uncompressed/guilded/README.md +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | # Guilded for Ferdi | ||
2 | This is the unofficial Ferdi recipe for Guilded, it only supports the current server. | ||
3 | |||
4 | ### Release notes | ||
5 | 1.0.0: First version | ||
6 | |||
7 | ### How to create your own Ferdi recipes: | ||
8 | * [Read the documentation](https://github.com/getferdi/recipes/blob/master/docs/integration.md) \ No newline at end of file | ||
diff --git a/uncompressed/guilded/icon.png b/uncompressed/guilded/icon.png deleted file mode 100644 index e2cd5ae..0000000 --- a/uncompressed/guilded/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/guilded/icon.svg b/uncompressed/guilded/icon.svg deleted file mode 100644 index 199d4a5..0000000 --- a/uncompressed/guilded/icon.svg +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg width="1024px" height="1024px" viewBox="0 0 136 129" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <!-- Generator: Sketch 56.2 (81672) - https://sketch.com --> | ||
4 | <title>Logomark / Guilded-Wordmark-Black</title> | ||
5 | <desc>Created with Sketch.</desc> | ||
6 | <g id="Logomark-/-Guilded-Wordmark-Black" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
7 | <path d="M47.8903288,48.2641509 C47.8903288,48.2641509 47.9503286,56.8036226 52.3351089,65.6355094 C56.8398888,74.1369434 63.0510609,79.5977358 68.175038,81.7730189 C73.4694143,79.2981887 78.5837914,75.0023019 81.3749789,70.3735849 L66.840644,70.3735849 C63.0798608,67.2568679 60.1206741,62.0861132 59.4414771,56.109434 L102.079686,56.109434 C99.9772956,65.718717 95.5157156,74.4578868 91.2653346,80.023283 C85.3658754,87.739919 77.3664831,93.6292832 68.2062379,97 L68.0718385,97 C52.7791069,90.9068302 44.5519438,81.309434 39.1231681,70.480566 C35.6407837,63.5410566 32,50.9410566 32,34 L104,34 C104.011637,38.7709414 103.690875,43.5370029 103.039682,48.2641509 L47.8903288,48.2641509 Z" id="Path" fill="#111820" fill-rule="nonzero"></path> | ||
8 | </g> | ||
9 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/guilded/index.js b/uncompressed/guilded/index.js deleted file mode 100644 index e8243fb..0000000 --- a/uncompressed/guilded/index.js +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/uncompressed/guilded/package.json b/uncompressed/guilded/package.json deleted file mode 100644 index fbb7eda..0000000 --- a/uncompressed/guilded/package.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "id": "guilded", | ||
3 | "name": "Guilded", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Guilded", | ||
6 | "main": "index.js", | ||
7 | "author": "Jake Lee <ferdi@jakelee.co.uk>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://www.guilded.gg/", | ||
11 | "hasTeamId": false, | ||
12 | "hasNotificationSound": true | ||
13 | } | ||
14 | } | ||
diff --git a/uncompressed/guilded/webview.js b/uncompressed/guilded/webview.js deleted file mode 100644 index 371fac8..0000000 --- a/uncompressed/guilded/webview.js +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | var unread = 0 | ||
6 | const notificationBadge = document.getElementsByClassName('NavSelectorItem-unread-badge')[0] | ||
7 | if (notificationBadge != undefined) { | ||
8 | const innerBadge = notificationBadge.getElementsByClassName('BadgeV2-count')[0] | ||
9 | unread = innerBadge.innerText; | ||
10 | } | ||
11 | Franz.setBadge(parseInt(unread, 10)); | ||
12 | }; | ||
13 | |||
14 | Franz.loop(getMessages); | ||
15 | }; \ No newline at end of file | ||