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

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