My Discord bot is online and works but my webpage for it says my project is sleeping and that it is waking it up. It doesn’t wake up. What is going on? Link: r0cord.glitch.me
Forgot to ping @glitch_support
I’d wait before pinging them. Did you add a simple listener script?
I used the template and it worked fine a while ago with the same code
Can I see your server JS?
const express = require(“express”);
const fs = require(“fs”);
0;
const discordBotkit = require(“botkit-discord”);
var Client = require(“uptime-robot”);
const app = express();
const discordBot = require("./bot");
// this is the code for the guides
app.use(require("./guides"));
// http://expressjs.com/en/starter/static-files.html
app.use(express.static(“public”));
I just did. What does this mean for my webpage?
Look at it and follow instructions.
The code for routing is in guides
Don’t use that. Use the basic routing
Try
app.get('/', function (req, res) {
res.send('Hello World!')
})
I got banned from Discord anyway. Bot is now useless. Resolved.
You can just post in the discord ban megathread, you know.