Removed the "of" portion when finishing a craft.

master
sigonasr2 2 years ago
parent 0bb20fd6c1
commit 0842aaa410
  1. 2
      server.js

@ -100,7 +100,7 @@ app.post("/updateItem",(req,res)=>{
icon_url:itemIcon icon_url:itemIcon
}, },
color:req.body.obtained==req.body.required?32768:Number(req.body.obtained)>0?20680:2172201, color:req.body.obtained==req.body.required?32768:Number(req.body.obtained)>0?20680:2172201,
description:"**"+req.body.username+"** "+(req.body.operation==="FINISH"?" has finished collecting "+req.body.required+" / "+req.body.required+" __"+req.body.item_name+"__!": description:"**"+req.body.username+"** "+(req.body.operation==="FINISH"?" has finished collecting "+req.body.required+" __"+req.body.item_name+"__!":
req.body.operation==="INCREASE"?" has collected "+req.body.obtained+" / "+req.body.required+" __"+req.body.item_name+"__ (+"+(req.body.obtained-req.body.previous_amt)+")" req.body.operation==="INCREASE"?" has collected "+req.body.obtained+" / "+req.body.required+" __"+req.body.item_name+"__ (+"+(req.body.obtained-req.body.previous_amt)+")"
:" has set __"+req.body.item_name+"__ to "+req.body.obtained+" / "+req.body.required)+"\n\n[Sig Planner - Sig crafts all the things](http://projectdivar.com:3001)", :" has set __"+req.body.item_name+"__ to "+req.body.obtained+" / "+req.body.required)+"\n\n[Sig Planner - Sig crafts all the things](http://projectdivar.com:3001)",
footer:{ footer:{

Loading…
Cancel
Save