Add timestamp on messages
This commit is contained in:
parent
548ca39149
commit
6537a323a7
|
@ -45,7 +45,8 @@ const commands = {
|
|||
const toSend = {
|
||||
...message,
|
||||
ID: makeID(),
|
||||
senderID: ws.ID
|
||||
senderID: ws.ID,
|
||||
time: new Date().getTime()
|
||||
};
|
||||
|
||||
console.log("Sending", message.message, "on", message.channel, "from", ws.ID);
|
||||
|
|
Loading…
Reference in New Issue