Bot take 6 hours to log

sorry im kinda dumb but how i add a bookmark?

are you using Chrome?

yeah im using chorme

right-click the bookmark -> add page -> fill name (glitch restart or whatever) -> fill url (the Bookmark Code) -> save (select the right folder tho)

1 Like

it say not valid url
https://gyazo.com/8659177983c2887d7ad150fc7ad27479

my bad, add javascript: before the code :slight_smile:

1 Like

okay added so now if i click it the project restart right?
also does it still update for everything i add like before or every time i update i must click that button?

it automatically saves. It just doesn’t restart the project.

that means, the code will be saved, and will only be applied the next time you restart the project (bookmark)

ohh okay so now i should just wait?

yes, you have to wait for the un-ban :confused:

thanks for the help.

1 Like

no problem. You can mark it as a solution if it helped :slight_smile:

@ItsYanko sorry to bother you now but its been a while since this bug accoured and now how do i even start the bot? before everytime i update it atleast send “listening on port 3000” but now nothing
and your thing just ping it like uptime robot
https://gyazo.com/2093ee1c5de5e73422bdfe63820658e9

nevermind its back now idk im just stupid but how do i update the code i mean how do i like restart the bot? becouse you code thing just send a ping like uptimerobot every 5mins

is it fixed? :smiley:

Use my resolve into the too many requests issue on discord. It will be helpful.

can you please explain?

WOW! I never thought i would do this. Why is it not working when I whant it to?

nvm. I just replaced the code to

javascript:(function() {
  var currFile = application.selectedFile();
  var triggerFile = application.files().filter(function (file) {
    return file.path() === ".trigger-rebuild";
  })[0];
  if (!triggerFile) {
    alert("Please create a file named '.trigger-rebuild'.");
    return;
  }
  application.writeToFile(triggerFile, `restart-${Date.now()}`);
})()