Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
improve DatabaseManager concistency
Browse files Browse the repository at this point in the history
  • Loading branch information
davipatricio committed Apr 27, 2022
1 parent d335f28 commit 4792c30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bot/managers/DatabaseManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { existsSync } from 'node:fs';
import { mkdir, readFile, writeFile } from 'node:fs/promises';

class DatabaseManager {
export class DatabaseManager {
conteudo!: { [key: string]: any };
local: string;
constructor(local: string) {
Expand Down Expand Up @@ -102,5 +102,3 @@ class DatabaseManager {
return this.conteudo[nome];
}
}

export { DatabaseManager };

0 comments on commit 4792c30

Please sign in to comment.