diff --git a/PFPs.json b/PFPs.json index 9304934..bb52c0f 100644 --- a/PFPs.json +++ b/PFPs.json @@ -4,11 +4,10 @@ "name": "Misery", "pfpRoot": "/pfps/Misery/", "pfps": { - "online": ["MiseryBedHappy.png"], - "dnd": ["MiseryBedAngry.png"], - "idle": ["MiseryBedNeutral.png"], - "offline": [], - "fallback": "/pfps/Misery/MiseryBedNeutral.png" + "online": ["MiseryHappy.png", "MiseryNeutral.png"], + "dnd": ["MiseryAngry.png", "MiseryBedAngry.png"], + "idle": ["MiseryBedNeutral.png", "MiseryBedHappy.png"], + "fallback": "/pfps/Misery/MiseryNeutral.png" } } ], diff --git a/index.js b/index.js index a436a5f..ce8a045 100644 --- a/index.js +++ b/index.js @@ -37,6 +37,9 @@ app.get("/v1/pfp", (req, res) => { try { var status = lanyardData.d.discord_status + if (status == "offline") { + status = "idle" + } var pfpPool = pfps[status] var rand = Math.floor(Math.random() * pfpPool.length) var pfp = path.join(__dirname, char.pfpRoot, pfpPool[rand]) diff --git a/pfps/Misery/MiseryAngry.png b/pfps/Misery/MiseryAngry.png new file mode 100644 index 0000000..a3b98ce Binary files /dev/null and b/pfps/Misery/MiseryAngry.png differ diff --git a/pfps/Misery/MiseryHappy.png b/pfps/Misery/MiseryHappy.png new file mode 100644 index 0000000..1a8230b Binary files /dev/null and b/pfps/Misery/MiseryHappy.png differ diff --git a/pfps/Misery/MiseryNeutral.png b/pfps/Misery/MiseryNeutral.png new file mode 100644 index 0000000..29912f2 Binary files /dev/null and b/pfps/Misery/MiseryNeutral.png differ