diff --git a/src/app/api/webhooks/discord/route.ts b/src/app/api/webhooks/discord/route.ts new file mode 100644 index 0000000..6654d29 --- /dev/null +++ b/src/app/api/webhooks/discord/route.ts @@ -0,0 +1,11 @@ +import { NextRequest, NextResponse } from "next/server"; + + +export async function POST(request: NextRequest): Promise { + const body = await request.text() + const parsed = JSON.parse(body) + + console.log(parsed) + + return NextResponse.json({}, { status: 200}) +} \ No newline at end of file