No more chrimus

This commit is contained in:
bingus_violet 2024-11-23 18:06:24 -06:00
parent 19b043f787
commit 7b7a9e18d1

View file

@ -66,9 +66,9 @@ app.get("/v1/pfp", async (req, res) => {
res.setHeader("Content-Type", "image/png")
var time = new Date(Date.now())
if ([12].includes(time.getMonth() + 1)) {
pfpSeason = "christmas"
}
// if ([12].includes(time.getMonth() + 1)) {
// pfpSeason = "christmas"
// }
var pfpConfig = JSON.parse(fs.readFileSync(path.join(__dirname, "PFPs.json")))[pfpSeason]
var characterNumb = (time.getDay()) % pfpConfig.length