Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit ce60fa1

Browse files
committed
removed persistent data due to not working
1 parent 7577e57 commit ce60fa1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Bot.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ class Bot extends Commando.Client {
2424
});
2525
});
2626

27-
// create data folder if it doesn't exist
28-
if (!fs.existsSync(path.join(__dirname, 'data'))){
29-
fs.mkdirSync(path.join(__dirname, 'data'));
30-
}
31-
32-
// set provider sqlite3 so we can save our settings
33-
this.setProvider(
34-
sqlite.open(path.join(__dirname, 'settings.sqlite3')).then(db => new Commando.SQLiteProvider(db))
35-
).catch(console.error);
36-
3727
// register default groups and commands
3828
this.registry
3929
.registerGroups([

0 commit comments

Comments
 (0)