summary refs log tree commit diff
path: root/api/src/routes/guilds/#guild_id/audit-logs.ts
blob: a4f2f800b979cd1f333285ddf8a9f8acac4c0b9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 audit logs
router.get("/", route({}), async (req: Request, res: Response) => {
	res.json({
		audit_log_entries: [],
		users: [],
		integrations: [],
		webhooks: [],
		guild_scheduled_events: [],
		threads: [],
		application_commands: []
	});
});
export default router;