Last active
December 22, 2022 23:49
-
-
Save GlitchyZorua/a7a9b46263d1390b11b6120f07790f07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var messagesent = 0 // messages sent | |
var paadd = 0 // people joined | |
var notespressed = 0 //notes pressed (soon.) | |
var versiondddyjfghjhgb = "v0.2.3" // version | |
var premove = 0 //people left | |
MPP.client.on('a', function(msg) { | |
++messagesent | |
}); | |
MPP.client.on('participant added', function(part) { | |
++paadd | |
}); | |
MPP.client.on('participant removed', function(part){ | |
++premove | |
}); | |
// | |
MPP.client.on('a', function(msg) { | |
var args = msg.a.split(" "); | |
var cmd = args[0]; | |
if (cmd == "tr!help") { | |
MPP.chat.send("TrackyBot Collected Data. I don't collect personal information.") | |
MPP.chat.send("📜 Commands: help, sent, joined, left, ver") | |
MPP.chat.send('⁉️ Prefix: tr!'); | |
} | |
if (cmd == "tr!sent") { | |
MPP.chat.send('💬 Messages Sent: '+messagesent); | |
} | |
if (cmd == "tr!joined"){ | |
MPP.chat.send('➕ Participants Joined: '+paadd) | |
} | |
if (cmd == "tr!left"){ | |
MPP.chat.send('➖ Participants left: '+premove) | |
} | |
if (cmd == "tr!ver"){ | |
MPP.chat.send(versiondddyjfghjhgb) | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment