"use strict";(()=>{var e={};e.id=1049,e.ids=[1049],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},78893:e=>{e.exports=require("buffer")},92048:e=>{e.exports=require("fs")},55315:e=>{e.exports=require("path")},68223:(e,r,t)=>{t.r(r),t.d(r,{originalPathname:()=>h,patchFetch:()=>x,requestAsyncStorage:()=>m,routeModule:()=>d,serverHooks:()=>l,staticGenerationAsyncStorage:()=>c});var a={};t.r(a),t.d(a,{GET:()=>p});var s=t(49303),o=t(88716),n=t(60670),i=t(87070),u=t(53013);async function p(e){try{let e=await (0,u.HL)();return i.NextResponse.json({groups:e})}catch(e){return console.error("Error loading slash commands:",e),i.NextResponse.json({error:"Failed to load slash commands"},{status:500})}}let d=new s.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/api/slash-commands/route",pathname:"/api/slash-commands",filename:"route",bundlePath:"app/api/slash-commands/route"},resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/slash-commands/route.ts",nextConfigOutput:"",userland:a}),{requestAsyncStorage:m,staticGenerationAsyncStorage:c,serverHooks:l}=d,h="/api/slash-commands/route";function x(){return(0,n.patchFetch)({serverHooks:l,staticGenerationAsyncStorage:c})}}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[8948,5972,3673,3013],()=>t(68223));module.exports=a})();