Added spoofed tokebot profile and nameplate, made registering as tokebot impossible.
This commit is contained in:
parent
1d3906247a
commit
58b6d18f26
6 changed files with 111 additions and 22 deletions
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue