const express = require('express'); const app = express(); // use the express-static middleware app.use(express.static("public")) // define the first route app.get("/", function (req, res) { res.send("

This is the monitoring server for the Vinci discord bot!


If you see this, the bot is up and running.

") }) // start the server listening for requests app.listen(process.env.PORT || 7272, () => console.log("The webserver is listening on port " + process.env.PORT || 3000));