From 4e41b5844397f45bcb48c4ec995e2455aba1f928 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 23 Oct 2024 21:20:18 +0000 Subject: [PATCH] feat: show net-zero badge on health check (#9) Reviewed-on: https://codeberg.org/nhcarrigan/a4p-bot/pulls/9 Co-authored-by: Naomi Carrigan Co-committed-by: Naomi Carrigan --- src/server/serve.ts | 104 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 1 deletion(-) diff --git a/src/server/serve.ts b/src/server/serve.ts index 7260d8e..588bea6 100644 --- a/src/server/serve.ts +++ b/src/server/serve.ts @@ -20,7 +20,109 @@ export const serve = async (bot: ExtendedClient) => { app.use(express.json()); app.get("/", (_req, res) => { - res.status(200).send("Health check good!"); + res.status(200).send(` + + + + Art 4 Palestine Bot + + + + + + + + +
+

Art 4 Palestine Bot

+
+

A bot to facilitate our initiative to raise funds for Palestine relief charities by rewarding donors with art.

+
+
+

Links

+

+ + Source Code + +

+

+ + Documentation + +

+

+ + Support + +

+
+
+ + +`); }); const httpServer = http.createServer(app);