summary refs log tree commit diff
path: root/src/api/routes/guilds/#guild_id/webhooks.ts
blob: c8c1eb5c4659a7497ee2f9b950b00584f687736d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { Router, Response, Request } from "express";
import { Channel, ChannelUpdateEvent, getPermission, emitEvent } from "@fosscord/util";
import { HTTPError } from "@fosscord/util";
import { route } from "@fosscord/api";
const router = Router();

//TODO: implement webhooks
router.get("/", route({}), async (req: Request, res: Response) => {
	res.json([]);
});
export default router;