Using prisma globally - synthofficial/discord-idle-game-bot-template GitHub Wiki

Using Prisma globally

In order to use Prisma in any file, you can just import it from database.ts

# Example as a Slash Command

import { prisma } from "../Client/database";