Bot Glitch Help, pleaseeeee

javascript
#1

Hello, I’m trying to access the panel of my Discord Bot in JavaScript, but the page does not work, this is the error: http://prntscr.com/n1p2ix, how can I get back to the page? or recover everything I save on both projects.

1 Like

#2

Hi @GamerGb, welcome to the Glitch forum!

Would you be willing to share your project name(s) so someone can take a closer look?

1 Like

#3

Yes, but where will I go to hack anyone?

1 Like

#4

I’m not sure what you mean, but if you’re concerned about the security of your project, you can read over our documents about private projects you can see how we help keep your project safe.

1 Like

#5

Ok, so I’ll send it, it’s two projects, but I’ll create others soon.
The first one is sky-pvp
The second is skypvpmoderacao

1 Like

#6

Thanks for the project names. I don’t see the problem from your screenshot in either of those projects; are you still seeing the problem?

One point I do see, though; in sky-pvp you never have the project start listening to an external port, so Glitch just keeps trying to start the project until it sees that listener. In skypvpmoderacao you’ve got the right thing set up at https://glitch.com/edit/#!/skypvpmoderacao?path=index.js:8:0. If you do the same thing in sky-pvp it’ll start up correctly.

Just as a side note, it looks like you might be starting from the AnIdiotsGuide Discord bot tutorial. One portion of that that doesn’t work as advertised there is the setInterval pattern to keep your bot up. It works as well as can be expected when keep a project alive from the insicde, but the problem is that projects shut down every ~12 hours no matter what, and when that happens there’s nothing that will start your project back up the start that interval again. There are also other reasons why a project might stop (another common one is if Discord bans one of our servers, in which case we’ll shut it down and move everything to a new host). To make sure your project is stable across those sorts of restarts you need something external to keep your project awake, and once you have that the setInterval pattern is no longer useful. How to make a glitch project to run constantly? talks about one approach to having an external keep-alive.

Hope this helps!

1 Like

#7

Actually, in my opinion the reason for this image is that I try to use it, but I am not logged in to my account (the one that has access) because I can not access it, for github it takes, takes and does not load the page, through gmail, it also takes time to send the message (by the computer (the computer that I use)) but by the cell phone I can access the panel;…

1 Like

#8

I don’t think it’s related to not being signed in; what I see when I try to access one of those projects while not logged in looks like this:

image

1 Like

#9

This appears when I try to log in, through GitHub and Facebook

GitHub: prntscr.com/n2uwio
FaceBook:prntscr.com/n2ux30

1 Like

#10

In … Where’s the answer?

1 Like

#12

Hey @GamerGb, I’m not seeing anything obvious as far as login problems on our end of things - can you provide your Glitch login so I can take a look from that end of things?

1 Like

#15

Ok, EMAIL GLITCH joaorobles14@gmail.com ou joaorobles53@gmail.com

1 Like