NextJS compatable with discord.js?

So i was talking to a friend of mine who recently developed a music bot but the website was too slow using NodeJS so then i asked the same question they denied that we can't. Now i'm really curious is it or not?
12 Replies
d.js toolkit
d.js toolkit4d ago
materwelon
materwelon4d ago
NextJS and discord.js have no correlation Next is for webapps/websites djs is for discord bots
im not dsa
im not dsaOP4d ago
so it is compatable then?
materwelon
materwelon4d ago
what do you exactly mean by compatible?
im not dsa
im not dsaOP4d ago
like will it break or basicly will it work.
Amgelo
Amgelo4d ago
you can't run djs in a website if that's what you're asking you'll need to run it on a server
materwelon
materwelon4d ago
thank u amgelo
Amgelo
Amgelo4d ago
and not in a serverless environment, that won't work either, you need a persistent one
im not dsa
im not dsaOP4d ago
so for now atleast there's only option is nodejs?
materwelon
materwelon4d ago
or deno or bun and nodejs is not slow
im not dsa
im not dsaOP4d ago
alr thanks for helping me understand! have a great 1!!
d.js toolkit
d.js toolkit4d ago
The thread owner has marked this issue as solved.

Did you find this page helpful?