Is it possible to have a discord bot instance running in a t3 app?

I want to move my .NET & CRA discord bot dashboard app to t3 stack. The main reason I'm using my .NET backend for is to run a discord bot instance and some cron jobs. I'm not sure if this is something Next.js is capable of. Any insights?
3 Replies
Neto
Neto3y ago
t3 run mainly on lambdas so you cant run long running services such as cron jobs
Lopen
Lopen3y ago
Depends on your mode of deployment If you're using vercel You can change your package.json file commands to use something like nodemon or npm run dev But it's a bad idea for websites though
cje
cje3y ago
the next.js backend is just a regular node.js thing if you don't deploy it to lambdas you can for example stick it in a docker container and put that wherever
Want results from more Discord servers?
Add your server