log messages sent by users in public channels

This commit is contained in:
Holly Stubbs 2021-09-03 21:12:42 +01:00
parent eea27b25f8
commit ac84a10088

View file

@ -27,6 +27,8 @@ module.exports = function(CurrentUser, CurrentPacket) {
return; return;
} }
global.consoleHelper.printChat(`${CurrentUser.username} in ${CurrentPacket.data.target} sent: ${CurrentPacket.data.message}`);
const osuPacketWriter = new osu.Bancho.Writer; const osuPacketWriter = new osu.Bancho.Writer;
osuPacketWriter.SendMessage({ osuPacketWriter.SendMessage({
sendingClient: CurrentUser.username, sendingClient: CurrentUser.username,