Antonin
Antonin
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Antonin on 8/10/2024 in #djs-voice
Voice Stream for personal radio
Hello, I want to create a radio, I would like it to be managed and animated from discord. how can i get what all the users in the room are saying and send it to my audio stream server? don't hesitate to let me know if you have an idea and if it's possible to do it.
16 replies
PPrisma
Created by Antonin on 8/9/2024 in #help-and-questions
Multiple Prisma
Hi, I'd like to know if I can define a schema.prisma file for a specific instance? I'd like to be able to manage a relational database and an sqlite database.
2 replies
PPrisma
Created by Antonin on 8/5/2024 in #help-and-questions
Error: PrismaClientUnknownRequestError:Invalid `prisma.user.groupBy()` invocation:
No description
7 replies
PPrisma
Created by Antonin on 7/1/2024 in #help-and-questions
cacheStrategy is never
error :
Type '{ ttl: number; swr: number; }' is not assignable to type 'never'.ts(2322)
(property) cacheStrategy: never
Type '{ ttl: number; swr: number; }' is not assignable to type 'never'.ts(2322)
(property) cacheStrategy: never
// prisma.ts
import { PrismaClient } from '@prisma/client'
import { withAccelerate } from '@prisma/extension-accelerate';

export const prisma = new PrismaClient().$extends(withAccelerate());
// prisma.ts
import { PrismaClient } from '@prisma/client'
import { withAccelerate } from '@prisma/extension-accelerate';

export const prisma = new PrismaClient().$extends(withAccelerate());
7 replies