diff --git a/index.js b/index.js index 88088ee..2a2cdab 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ require("dotenv").config(); -require("./lib/express.js"); const { DISCORD_TOKEN, APPLICATION_ID, GUILD_ID } = process.env; const fs = require("node:fs"); diff --git a/lib/express.js b/lib/express.js deleted file mode 100644 index 604282c..0000000 --- a/lib/express.js +++ /dev/null @@ -1,14 +0,0 @@ -//ExpressJS -const express = require("express"); -const app = express(); -const port = 3000; - -//<========== Start Expressjs ==========> -app.get("/", (req, res) => { - res.send("Bot in ready"); -}); - -app.listen(port, () => - console.log(`Example app listening on port http://127.0.0.1:${port}/`), -); -//<========== End Expressjs ==========> diff --git a/vercel.json b/vercel.json deleted file mode 100644 index e8eaad7..0000000 --- a/vercel.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": 2, - "builds": [ - { - "src": "./index.js", - "use": "@vercel/node" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "/" - } - ] -}