mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
Changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user