Art 4 Palestine Bot
A bot to facilitate our initiative to raise funds for Palestine relief charities by rewarding donors with art.
import http from "http"; import express from "express"; import { ExtendedClient } from "../interface/ExtendedClient"; /** * Instantiates the web server for listening to webhook payloads. * * TODO: Delete this entirely once all trello things are done. * * @param {ExtendedClient} bot The bot's Discord instance. */ export const serve = async (bot: ExtendedClient) => { const app = express(); app.use(express.json()); app.get("/", (_req, res) => { res.header("Content-Type", "text/html"); res.status(200).send(`
A bot to facilitate our initiative to raise funds for Palestine relief charities by rewarding donors with art.