diff --git a/src/irc.js b/src/irc.js index 872f5f3..694e8fe 100755 --- a/src/irc.js +++ b/src/irc.js @@ -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));