diff --git a/bot2022.db/000171.ldb b/bot2022.db/000171.ldb
deleted file mode 100644
index 81cc460..0000000
Binary files a/bot2022.db/000171.ldb and /dev/null differ
diff --git a/bot2022.db/000173.ldb b/bot2022.db/000173.ldb
deleted file mode 100644
index caa0f5c..0000000
Binary files a/bot2022.db/000173.ldb and /dev/null differ
diff --git a/bot2022.db/000178.ldb b/bot2022.db/000178.ldb
deleted file mode 100644
index 7d58d40..0000000
Binary files a/bot2022.db/000178.ldb and /dev/null differ
diff --git a/bot2022.db/000179.log b/bot2022.db/000179.log
deleted file mode 100644
index cf3569b..0000000
Binary files a/bot2022.db/000179.log and /dev/null differ
diff --git a/bot2022.db/000491.log b/bot2022.db/000491.log
new file mode 100644
index 0000000..52316ea
Binary files /dev/null and b/bot2022.db/000491.log differ
diff --git a/bot2022.db/000492.ldb b/bot2022.db/000492.ldb
new file mode 100644
index 0000000..3c734b6
Binary files /dev/null and b/bot2022.db/000492.ldb differ
diff --git a/bot2022.db/CURRENT b/bot2022.db/CURRENT
index 0e27482..2e0ce02 100644
--- a/bot2022.db/CURRENT
+++ b/bot2022.db/CURRENT
@@ -1 +1 @@
-MANIFEST-000177
+MANIFEST-000489
diff --git a/bot2022.db/LOG b/bot2022.db/LOG
index fa12d72..60e7a63 100644
--- a/bot2022.db/LOG
+++ b/bot2022.db/LOG
@@ -1,5 +1,11 @@
-2022/01/18-16:59:11.704 2d64 Recovering log #176
-2022/01/18-16:59:11.704 2d64 Level-0 table #178: started
-2022/01/18-16:59:11.707 2d64 Level-0 table #178: 446 bytes OK
-2022/01/18-16:59:11.713 2d64 Delete type=0 #176
-2022/01/18-16:59:11.713 2d64 Delete type=3 #175
+2022/03/15-11:37:58.642339 7fefa67fc700 Recovering log #487
+2022/03/15-11:37:58.705212 7fefa67fc700 Level-0 table #490: started
+2022/03/15-11:37:58.724919 7fefa67fc700 Level-0 table #490: 131633 bytes OK
+2022/03/15-11:37:58.762282 7fefa67fc700 Delete type=3 #485
+2022/03/15-11:37:58.762369 7fefa67fc700 Delete type=0 #487
+2022/03/15-12:37:43.198784 7fefa4ff9700 Compacting 1@0 + 1@1 files
+2022/03/15-12:37:43.233054 7fefa4ff9700 Generated table #492@0: 1614 keys, 64785 bytes
+2022/03/15-12:37:43.233104 7fefa4ff9700 Compacted 1@0 + 1@1 files => 64785 bytes
+2022/03/15-12:37:43.234931 7fefa4ff9700 compacted to: files[ 0 1 0 0 0 0 0 ]
+2022/03/15-12:37:43.235125 7fefa4ff9700 Delete type=2 #490
+2022/03/15-12:37:43.235493 7fefa4ff9700 Delete type=2 #488
diff --git a/bot2022.db/LOG.old b/bot2022.db/LOG.old
index 36d7e1c..9f4efc2 100644
--- a/bot2022.db/LOG.old
+++ b/bot2022.db/LOG.old
@@ -1,3 +1,13 @@
-2022/01/18-16:58:50.679 59bc Recovering log #174
-2022/01/18-16:58:50.683 59bc Delete type=0 #174
-2022/01/18-16:58:50.683 59bc Delete type=3 #172
+2022/03/15-06:20:46.015723 7f4e74ff9700 Recovering log #484
+2022/03/15-06:20:46.015851 7f4e74ff9700 Level-0 table #486: started
+2022/03/15-06:20:46.017869 7f4e74ff9700 Level-0 table #486: 377 bytes OK
+2022/03/15-06:20:46.020536 7f4e74ff9700 Delete type=3 #482
+2022/03/15-06:20:46.020581 7f4e74ff9700 Delete type=0 #484
+2022/03/15-08:01:33.573536 7f4e677fe700 Compacting 3@0 + 1@1 files
+2022/03/15-08:01:33.582497 7f4e677fe700 Generated table #488@0: 1576 keys, 62904 bytes
+2022/03/15-08:01:33.582529 7f4e677fe700 Compacted 3@0 + 1@1 files => 62904 bytes
+2022/03/15-08:01:33.588153 7f4e677fe700 compacted to: files[ 0 1 0 0 0 0 0 ]
+2022/03/15-08:01:33.588372 7f4e677fe700 Delete type=2 #478
+2022/03/15-08:01:33.588928 7f4e677fe700 Delete type=2 #486
+2022/03/15-08:01:33.589514 7f4e677fe700 Delete type=2 #480
+2022/03/15-08:01:33.589606 7f4e677fe700 Delete type=2 #483
diff --git a/bot2022.db/MANIFEST-000177 b/bot2022.db/MANIFEST-000177
deleted file mode 100644
index 054d1ef..0000000
Binary files a/bot2022.db/MANIFEST-000177 and /dev/null differ
diff --git a/bot2022.db/MANIFEST-000489 b/bot2022.db/MANIFEST-000489
new file mode 100644
index 0000000..cc2bfd9
Binary files /dev/null and b/bot2022.db/MANIFEST-000489 differ
diff --git a/password.txt b/password.txt
index e69de29..fa016a6 100644
--- a/password.txt
+++ b/password.txt
@@ -0,0 +1 @@
+burgerass
diff --git a/src/Bot.js b/src/Bot.js
index b5283b0..b76acd9 100644
--- a/src/Bot.js
+++ b/src/Bot.js
@@ -13,7 +13,8 @@ module.exports = class Bot extends StaticEventEmitter {
"2ffc3744fbc1bc6c6ef4a330",
"a41651bf8a46bafc5548dad6",
"ead940199c7d9717e5149919",
- "8107156a27514cebcb65195d"
+ "8107156a27514cebcb65195d",
+ "e1e7e489ec8d635d980c65cd"
];
this.prefix = "/"; // never change this
diff --git a/src/Commands.js b/src/Commands.js
index f119735..883c7d5 100644
--- a/src/Commands.js
+++ b/src/Commands.js
@@ -208,24 +208,24 @@ module.exports = (bot) => {
if(err) throw err;
var text = part.name+" caught "+aOrAn(size)+" "+size+" "+type + "!";
console.log(type);
- // client.sendArray([{m: "admin message", password: new String(data).trim(),
- // msg: {"m": "notification", "id":"Fish-caught","targetUser": "room", "target": "#piano", "duration": "7000", "class":"short","html": "
"+sanitize(text)}}]);
- MPPClient.client.sendArray([{
- m: 'custom',
- data: {
- m: 'notification',
- id: 'Fish-caught',
- targetUser: 'room',
- target: '#piano',
- duration: '7000',
- class: 'short',
- html: '
'+sanitize(text)
- },
- target: {
- mode: 'subscribed',
- global: false
- }
- }]);
+ MPPClient.client.sendArray([{m: "admin message", password: new String(data).trim(),
+ msg: {"m": "notification", "id":"Fish-caught","targetUser": "room", "target": "#piano", "duration": "7000", "class":"short","html": "
"+sanitize(text)}}]);
+ // MPPClient.client.sendArray([{
+ // m: 'custom',
+ // data: {
+ // m: 'notification',
+ // id: 'Fish-caught',
+ // targetUser: 'room',
+ // target: '#piano',
+ // duration: '7000',
+ // class: 'short',
+ // html: '
'+sanitize(text)
+ // },
+ // target: {
+ // mode: 'subscribed',
+ // global: false
+ // }
+ // }]);
});
}
} else {
diff --git a/src/MPPClient.js b/src/MPPClient.js
index d53c560..8127941 100644
--- a/src/MPPClient.js
+++ b/src/MPPClient.js
@@ -4,8 +4,10 @@ const Client = require('./mppt-client.js');
module.exports = class MPPClient {
static start(token) {
this.client = new Client('wss://mppclone.com:8443', token);
+ // this.client = new Client('wss://mpp.hri7566.info:8443');
this.client.start();
- this.client.setChannel('β§πππ₯ π‘πΈπΈπΆβ§');
+ // this.client.setChannel('β§πππ₯ π‘πΈπΈπΆβ§');
+ this.client.setChannel('test/fishing');
this.bindEventListeners();
}