This commit is contained in:
Isaac
2022-07-15 23:19:42 +01:00
parent 145514a86b
commit 97623f3203
15 changed files with 193 additions and 57 deletions

View File

@@ -1,6 +1,7 @@
const { Client: FrameworkClient }= require('@eartharoid/dbf');
const { Intents } = require('discord.js');
const { PrismaClient } = require('@prisma/client');
const Keyv = require('keyv');
module.exports = class Client extends FrameworkClient {
constructor() {
@@ -16,6 +17,7 @@ module.exports = class Client extends FrameworkClient {
async login(token) {
this.prisma = new PrismaClient();
// this.prisma.$use((params, next) => {})
this.keyv = new Keyv();
return super.login(token);
}