Added recipient to IRC message.

This commit is contained in:
Niels Simenon 2023-04-11 00:51:50 +02:00
parent 21feb37d21
commit 44386cf096
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ async function init() {
client.addListener('message', (from, to, body) => onMessage({
from,
to,
recipient: /^#/.test(to) ? to : null,
body,
type: 'message',
}, bot, games));