Added spoofed tokebot profile and nameplate, made registering as tokebot impossible.

This commit is contained in:
rainbow napkin 2024-12-15 18:20:29 -05:00
parent 1d3906247a
commit 58b6d18f26
6 changed files with 111 additions and 22 deletions

View file

@ -83,7 +83,12 @@ module.exports = class{
}
broadcastUserList(){
var userList = [];
//Create a userlist object with the tokebot user pre-loaded
var userList = [{
user: "Tokebot",
flair: "classic",
highLevel: "∞",
}];
this.userList.forEach((userObj, user) => {
userList.push({

View file

@ -97,20 +97,19 @@ module.exports = class{
}
relayTokeCallout(msg){
this.relayGlobalChat("Tokebot", "", 10, msg, "toke");
this.relayGlobalChat("Tokebot", "", '∞', msg, "toke");
}
relayTokeWhisper(socket, msg){
this.relayServerWisper(socket, "Tokebot", "", 10, msg, "tokewhisper");
this.relayServerWisper(socket, "Tokebot", "", '∞', msg, "tokewhisper");
}
relayGlobalTokeWhisper(msg){
this.relayGlobalChat("Tokebot", "", 10, msg, "tokewhisper");
this.relayGlobalChat("Tokebot", "", '∞', msg, "tokewhisper");
}
relayServerAnnouncement(msg){
//This codebase is always at a 10
this.relayGlobalChat("Server", "", 10, msg, "announcement");
this.relayGlobalChat("Server", "", '∞', msg, "announcement");
}
relayChannelAnnouncement(chan, msg){
@ -118,8 +117,7 @@ module.exports = class{
//If channel isn't null
if(activeChan != null){
//This codebase is always at a 10
this.relayChat("Channel", "", 10, msg, "announcement", chan);
this.relayChat("Channel", "", '∞', msg, "announcement", chan);
}
}