We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf8db3f commit 0ae7e0cCopy full SHA for 0ae7e0c
src/moomoo/Game.ts
@@ -50,7 +50,7 @@ export default class Game {
50
}
51
52
async initDatabase() {
53
- this.db = await (await lowdb(new FileAsync<DBSchema>('./.data/sanctuary.json')));
+ this.db = await lowdb(new FileAsync<DBSchema>('./.data/sanctuary.json'));
54
this.db.defaults({ bannedIPs: [], moderatorIPs: [] })
55
.write();
56
0 commit comments