diff --git a/src/index.ts b/src/index.ts index 990c3b8..01fb008 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,10 +4,10 @@ import dotenv from "dotenv"; dotenv.config(); const app: Express = express(); -const port = 23758; +const port = process.env.PORT; app.get("/", (req: Request, res: Response) => { - res.send("Hey! This is the interaction server for my custom bot."); + res.send({ "type": 1 }); }); app.listen(port, () => {