You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(err||body==-1||body==-2||!body)returnres.status(400).send(`Error counting messages! Messages get blocked a lot so try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
14
+
if(err)returnres.status(400).send(`Error counting messages! Messages get blocked a lot so try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
if(err||body==-1||!body)returnres.status(400).send(`Error fetching message! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
14
+
if(err)returnres.status(400).send(`Error fetching message! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
if(err||body==-1||body==-2||!body)returnres.status(400).send(`Error fetching messages! Messages get blocked a lot so try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
16
+
if(err)returnres.status(400).send(`Error fetching messages! Messages get blocked a lot so try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
if(err)returnres.status(400).send("The Geometry Dash servers returned an error! Perhaps they're down for maintenance")
34
-
if(!body||body==-1)returnres.status(400).send(`The Geometry Dash servers rejected your vote! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
33
+
if(err)returnres.status(400).send(`The Geometry Dash servers rejected your vote! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
35
34
elseapp.trackSuccess(req.id)
36
35
res.status(200).send((params.like==1 ? 'Successfully liked!' : 'Successfully disliked!')+" (this will only take effect if this is your first time doing so)")
if(err)returnres.status(400).send("The Geometry Dash servers returned an error! Perhaps they're down for maintenance")
42
-
if(!body||body==-1)returnres.status(400).send(`The Geometry Dash servers rejected your comment! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
41
+
if(err)returnres.status(400).send(`The Geometry Dash servers rejected your comment! Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
43
42
if(body.startsWith("temp")){
44
43
letbanStuff=body.split("_")
45
44
returnres.status(400).send(`You have been banned from commenting for ${(parseInt(banStuff[1])/86400).toFixed(0)} days. Reason: ${banStuff[2]||"None"}`)
if(err)returnres.status(400).send("The Geometry Dash servers returned an error! Perhaps they're down for maintenance")
27
-
elseif(!body||body==-1)returnres.status(400).send(`The Geometry Dash servers rejected your profile post! Try again later, or make sure your username and password are entered correctly. Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
28
-
if(body.startsWith("temp")){
26
+
if(err)returnres.status(400).send(`The Geometry Dash servers rejected your profile post! Try again later, or make sure your username and password are entered correctly. Try again later, or make sure your username and password are entered correctly. Last worked: ${app.timeSince(req.id)} ago.`)
27
+
elseif(body.startsWith("temp")){
29
28
letbanStuff=body.split("_")
30
29
returnres.status(400).send(`You have been banned from commenting for ${(parseInt(banStuff[1])/86400).toFixed(0)} days. Reason: ${banStuff[2]||"None"}`)
if(!Number(app.id)||!secrets.password||!secrets.gjp||(secrets.password||secrets.gjp).includes("delete this line"))console.warn("Warning: No account ID and/or password has been provided in secretStuff.json! These are required for level leaderboards to work.")
157
+
if(!Number(app.id)||(!secrets.password&&!secrets.gjp)||(secrets.password||secrets.gjp).includes("delete this line"))console.warn("Warning: No account ID and/or password has been provided in secretStuff.json! These are required for level leaderboards to work.")
154
158
if(app.sheetsKey.includes("google sheets api key"))app.sheetsKey=undefined
155
159
}
156
160
@@ -161,11 +165,11 @@ catch(e) {
161
165
else{console.warn("There was an error parsing your secretStuff.json file!");console.error(e)}
0 commit comments