1tbfree commited on
Commit
6f284bc
·
verified ·
1 Parent(s): 5a700f8

Update chat.js

Browse files
Files changed (1) hide show
  1. chat.js +1 -1
chat.js CHANGED
@@ -27,7 +27,7 @@ io.on('connection', (socket) => {
27
  io.emit('chat message', { username, message: msg }); // Broadcast the message with username
28
  });
29
  socket.on('keys', (msg) => {
30
- const key = "hunter2";
31
  console.log("Someone sent message with a key.");
32
  });
33
  // Handle disconnection
 
27
  io.emit('chat message', { username, message: msg }); // Broadcast the message with username
28
  });
29
  socket.on('keys', (msg) => {
30
+ io.emit('chat message', 'Bot succefully uses apikey!')
31
  console.log("Someone sent message with a key.");
32
  });
33
  // Handle disconnection