Giving up on encryption

and life
This commit is contained in:
Isaac
2022-07-19 15:57:19 +01:00
parent 28f1e85759
commit 5786c3598d
7 changed files with 95 additions and 121 deletions

View File

@@ -6,7 +6,6 @@ const I18n = require('@eartharoid/i18n');
const fs = require('fs');
const { join } = require('path');
const YAML = require('yaml');
const middleware = require('./lib/prisma');
module.exports = class Client extends FrameworkClient {
constructor(config, log) {
@@ -37,7 +36,6 @@ module.exports = class Client extends FrameworkClient {
async login(token) {
/** @type {PrismaClient} */
this.prisma = new PrismaClient();
this.prisma.$use(middleware(this.log));
this.keyv = new Keyv();
return super.login(token);
}