This commit is contained in:
Hri7566 2022-06-04 19:37:41 +02:00
parent 8e326f0503
commit 2df30b6e28
11 changed files with 47 additions and 37 deletions

Binary file not shown.

Binary file not shown.

BIN
bot2022.db/002790.log Normal file

Binary file not shown.

BIN
bot2022.db/002791.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-002781
MANIFEST-002788

View File

@ -1,20 +1,11 @@
2022/06/03-08:43:48.822914 7f7c737fe700 Recovering log #2779
2022/06/03-08:43:48.872382 7f7c737fe700 Level-0 table #2782: started
2022/06/03-08:43:48.887981 7f7c737fe700 Level-0 table #2782: 176854 bytes OK
2022/06/03-08:43:48.893873 7f7c737fe700 Delete type=3 #2777
2022/06/03-08:43:48.893929 7f7c737fe700 Delete type=0 #2779
2022/06/03-08:47:06.934097 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/03-08:47:06.956926 7f7c71ffb700 Generated table #2784@0: 8439 keys, 406891 bytes
2022/06/03-08:47:06.956945 7f7c71ffb700 Compacted 1@0 + 1@1 files => 406891 bytes
2022/06/03-08:47:06.957597 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/03-08:47:06.957752 7f7c71ffb700 Delete type=2 #2780
2022/06/03-08:47:06.958186 7f7c71ffb700 Delete type=2 #2782
2022/06/04-16:57:02.852650 7f7c71ffb700 Level-0 table #2786: started
2022/06/04-16:57:02.930114 7f7c71ffb700 Level-0 table #2786: 461206 bytes OK
2022/06/04-16:57:02.936040 7f7c71ffb700 Delete type=0 #2783
2022/06/04-17:02:02.847864 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/04-17:02:02.902929 7f7c71ffb700 Generated table #2787@0: 8544 keys, 405308 bytes
2022/06/04-17:02:02.902963 7f7c71ffb700 Compacted 1@0 + 1@1 files => 405308 bytes
2022/06/04-17:02:02.913134 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/04-17:02:02.913631 7f7c71ffb700 Delete type=2 #2784
2022/06/04-17:02:02.915502 7f7c71ffb700 Delete type=2 #2786
2022/06/04-19:29:26.141465 7faef7fff700 Recovering log #2785
2022/06/04-19:29:26.154647 7faef7fff700 Level-0 table #2789: started
2022/06/04-19:29:26.165333 7faef7fff700 Level-0 table #2789: 36522 bytes OK
2022/06/04-19:29:26.177033 7faef7fff700 Delete type=3 #2781
2022/06/04-19:29:26.177100 7faef7fff700 Delete type=0 #2785
2022/06/04-19:33:32.237358 7faef6d09700 Compacting 1@0 + 1@1 files
2022/06/04-19:33:32.254642 7faef6d09700 Generated table #2791@0: 8551 keys, 408700 bytes
2022/06/04-19:33:32.254728 7faef6d09700 Compacted 1@0 + 1@1 files => 408700 bytes
2022/06/04-19:33:32.260616 7faef6d09700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/04-19:33:32.260811 7faef6d09700 Delete type=2 #2789
2022/06/04-19:33:32.261025 7faef6d09700 Delete type=2 #2787

View File

@ -1,12 +1,20 @@
2022/06/02-20:49:48.138190 7f838dffb700 Recovering log #2776
2022/06/02-20:49:48.138276 7f838dffb700 Level-0 table #2778: started
2022/06/02-20:49:48.160210 7f838dffb700 Level-0 table #2778: 317 bytes OK
2022/06/02-20:49:48.163924 7f838dffb700 Delete type=3 #2774
2022/06/02-20:49:48.163959 7f838dffb700 Delete type=0 #2776
2022/06/02-20:54:38.777033 7f836ffff700 Compacting 2@0 + 1@1 files
2022/06/02-20:54:38.858733 7f836ffff700 Generated table #2780@0: 8406 keys, 401353 bytes
2022/06/02-20:54:38.858769 7f836ffff700 Compacted 2@0 + 1@1 files => 401353 bytes
2022/06/02-20:54:38.863823 7f836ffff700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/02-20:54:38.864098 7f836ffff700 Delete type=2 #2775
2022/06/02-20:54:38.865348 7f836ffff700 Delete type=2 #2778
2022/06/02-20:54:38.870225 7f836ffff700 Delete type=2 #2773
2022/06/03-08:43:48.822914 7f7c737fe700 Recovering log #2779
2022/06/03-08:43:48.872382 7f7c737fe700 Level-0 table #2782: started
2022/06/03-08:43:48.887981 7f7c737fe700 Level-0 table #2782: 176854 bytes OK
2022/06/03-08:43:48.893873 7f7c737fe700 Delete type=3 #2777
2022/06/03-08:43:48.893929 7f7c737fe700 Delete type=0 #2779
2022/06/03-08:47:06.934097 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/03-08:47:06.956926 7f7c71ffb700 Generated table #2784@0: 8439 keys, 406891 bytes
2022/06/03-08:47:06.956945 7f7c71ffb700 Compacted 1@0 + 1@1 files => 406891 bytes
2022/06/03-08:47:06.957597 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/03-08:47:06.957752 7f7c71ffb700 Delete type=2 #2780
2022/06/03-08:47:06.958186 7f7c71ffb700 Delete type=2 #2782
2022/06/04-16:57:02.852650 7f7c71ffb700 Level-0 table #2786: started
2022/06/04-16:57:02.930114 7f7c71ffb700 Level-0 table #2786: 461206 bytes OK
2022/06/04-16:57:02.936040 7f7c71ffb700 Delete type=0 #2783
2022/06/04-17:02:02.847864 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/04-17:02:02.902929 7f7c71ffb700 Generated table #2787@0: 8544 keys, 405308 bytes
2022/06/04-17:02:02.902963 7f7c71ffb700 Compacted 1@0 + 1@1 files => 405308 bytes
2022/06/04-17:02:02.913134 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/04-17:02:02.913631 7f7c71ffb700 Delete type=2 #2784
2022/06/04-17:02:02.915502 7f7c71ffb700 Delete type=2 #2786

Binary file not shown.

BIN
bot2022.db/MANIFEST-002788 Normal file

Binary file not shown.

View File

@ -473,7 +473,7 @@ module.exports = (bot) => {
bot.addCommand(['about'], 0, msg => {
if (Date.now() < blockHelpUntil) return;
blockHelpUntil = Date.now() + 10000;
sendChat(`${underline("Fishing")} was made by Brandon Lockaby from late 2013-2017, then again in 2019. This is an updated version by Hri7566 (https://github.com/Hri7566) for use on MPPClone. This bot is capable of ${underline("changing your color")}.`);
sendChat(`${underline("Fishing")} was made by Brandon Lockaby from late 2013-2017, then again in 2019. This is an updated version by Hri7566 for use on MPPClone. This bot is capable of ${underline("changing your color")}.`);
});
bot.addCommand('qmyid', 0, (msg, admin) => {
@ -1819,6 +1819,15 @@ module.exports = (bot) => {
});
});
bot.addCommand(['bonus'], 0, msg => {
try {
let bonus = getBonusById(msg.p._id);
sendChat(`Friend ${msg.p.name}'s bonus: ${bonus}`);
} catch (e) {
sendChat("I don't remember how to get bonus.")
}
});
// class Kitty {
// constructor(name, price) {
// this.name = name;

View File

@ -5,11 +5,13 @@ let client = new Client("wss://mppclone.com:8443", process.env.MPPCLONE_TOKEN);
client.start();
// client.setChannel("test/fishing");
// client.setChannel("✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧");
client.setChannel("The Dev Channel");
client.setChannel("test/fishing");
// let _id = "de328727de4b466f4f5f1b65";
// let _id2 = "e42cecb0ed0ed03639dfd4be";
//
let _id = "fb1573d271464fef2ff4be93";
// let _id = "fb1573d271464fef2ff4be93";
let _id = "8107156a27514cebcb65195d";
function rrggbbrand(){var a = Math.floor(Math.random() * 256).toString(16); return a.length < 2 ? "0"+a : a};
@ -24,7 +26,7 @@ client.on("ch", () => {
// process.exit();
// }, 25);
client.sendArray([{m:"setname", _id:_id, name:"Autoplayer the retard"}]);
client.sendArray([{m:"setname", _id:_id, name:"낚시 앱 [/help]"}]);
// client.sendArray([{m: "settag", _id: "ead940199c7d9717e5149919", tag: { text: "hri", color: "#9900ff" }}])
// for (let p of Object.values(client.ppl)) {