summary refs log tree commit diff
path: root/api/src/routes/guilds/#guild_id/webhooks.ts
blob: 7f5b95928f6a1bc149c670e676b76b677ad22637 (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 "@fosscord/util";
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;