Add Basil back
This commit is contained in:
parent
8ff3cbe3b5
commit
7591f6e1fd
2 changed files with 11 additions and 1 deletions
10
PFPs.json
10
PFPs.json
|
@ -9,6 +9,16 @@
|
|||
"idle": ["Sad2.png", "Sad.png"],
|
||||
"fallback": "/pfps/OmoriPicrew/Dream/Neutral.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Basil",
|
||||
"pfpRoot": "/pfps/Basil",
|
||||
"pfps": {
|
||||
"online": ["BasilHappy.webp", "BasilManic.webp", "BasilNeutral.webp", "BasilVictory.webp"],
|
||||
"dnd": ["BasilAngry.webp", "BasilEnraged.webp", "BasilFurious.webp"],
|
||||
"idle": ["BasilSad.webp", "BasilDepressed.webp", "BasilMiserable.webp"],
|
||||
"fallback": "/pfps/Basil/BasilToast.webp"
|
||||
}
|
||||
}
|
||||
],
|
||||
"christmas": [
|
||||
|
|
2
index.js
2
index.js
|
@ -33,7 +33,7 @@ app.get("/v1/pfp", (req, res) => {
|
|||
}
|
||||
|
||||
var pfpConfig = JSON.parse(fs.readFileSync(path.join(__dirname, "PFPs.json")))[pfpSeason]
|
||||
var characterNumb = 0 // time.getDate() % pfpConfig.length
|
||||
var characterNumb = time.getDate() % pfpConfig.length
|
||||
// Was originally meant to alternate, didn't really feel like it though. Might add back later.
|
||||
var char = pfpConfig[characterNumb]
|
||||
var pfps = char.pfps
|
||||
|
|
Loading…
Reference in a new issue