diff --git a/index.js b/index.js index 12c3b62..31b9ce9 100644 --- a/index.js +++ b/index.js @@ -72,7 +72,12 @@ function pageUpdate() { var status = lanyardData.activities[0] addedHTML += "
"
if (status.emoji) {
- addedHTML += ` `
+ if (status.emoji.id) {
+ addedHTML += ` `
+ } else {
+ addedHTML += status.emoji.name
+ }
+
}
if (status.state) {
addedHTML += `"`
diff --git a/static/discord/index.html b/static/discord/index.html
new file mode 100644
index 0000000..549639b
--- /dev/null
+++ b/static/discord/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This is a more fleshed out version of the main discord status on my site, issue being, it requires Javascript. So, I choose not to use it, though it coulda been cool... I still am tempted to add something like it to the main page, and just make it compatible without javascript, but I worry that'd upset people.Discord Status
+