Added recipient to IRC message.
This commit is contained in:
parent
21feb37d21
commit
44386cf096
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue