Added comment because fuck you document ur shit punk
This commit is contained in:
parent
ccb468078c
commit
2fe9b71271
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ class activeChannel{
|
||||||
const activeList = leaving ? this.userAnnouncements.leave : this.userAnnouncements.join;
|
const activeList = leaving ? this.userAnnouncements.leave : this.userAnnouncements.join;
|
||||||
//Randomly yoink the applicable message
|
//Randomly yoink the applicable message
|
||||||
const msg = activeList[Math.floor(Math.random() * activeList.length)];
|
const msg = activeList[Math.floor(Math.random() * activeList.length)];
|
||||||
|
//Replace %UNAME% placeholder with users name and broadcast the welcome wagon
|
||||||
this.server.chatHandler.relayChat(user, "", 0, msg.replace("%UNAME%", user), "serverwhisper", this.name, []);
|
this.server.chatHandler.relayChat(user, "", 0, msg.replace("%UNAME%", user), "serverwhisper", this.name, []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue