Skip to content
← Back to Community
Not waking up
Profile icon
TheSpeakingLava

I can't get the repl.it to wake up on my script pls help me! Here is the link: https://DISCORDBOT-10--thespeakinglava.repl.co

Answered by TheDrone7 [earned 5 cycles]
View Answer
Voters
Profile icon
syamiel-ridhwan
Profile icon
HeskeiaLoeak
Profile icon
TheSpeakingLava
Comments
hotnewtop
Profile icon
TheDrone7

It is because there's an error in your repl. According to which it says, you passed an improper token for the bot. Might wanna fix your code and try using the start button in the repl to start it. If it starts then you're good to go.

Profile icon
TheSpeakingLava

@TheDrone7 What do you mean with in proper token? How do I fix?

Profile icon
TheDrone7

@TheSpeakingLava for logging the bot in, you get a token from https://discordapp.com/developers/application and then pass it while starting your bot. The error is that the token you used is invalid, just goto your bot's page and get the token from there and use the correct token in your code.

Profile icon
TheSpeakingLava

@TheDrone7 Do u have discord so we could talk and figuer this out together?

Profile icon
TheDrone7
Profile icon
TheSpeakingLava

@TheDrone7 and now?

Profile icon
TheSpeakingLava

@TheDrone7 Just add me: Tasty_Waffle#8511

Profile icon
[deleted]

@TheDrone7 Hey, do you know how to disable repl waking up cuz im looking at you repl Trendy. And i want to crack the 404 page, or if you dont mind could you tell me how you did it because I really want a 404 page on my main web'

Profile icon
TheDrone7

@vvc could you explain what you mean by "cracking" the 404 page?

Profile icon
[deleted]

@TheDrone7 making / finding out how to do it

Profile icon
TheDrone7

@vvc what I did was use express generator to generate the basic setup for my website. I didn't really look into how express handled it. But you may be able to understand if you look into it.

Profile icon
[deleted]

@TheDrone7 If I get the express generator will it automaticly create a 404

Profile icon
[deleted]

@TheDrone7 hey i check the web and i found a might be 404 code: app.use(function (req, res, next) {
res.status(404).send("Sorry can't find that!")
})