Fixed IRC message target.
This commit is contained in:
@@ -118,7 +118,7 @@ async function getGames(bot, identifier) {
|
||||
const curatedBody = curateMessageBody(body, game, key, options);
|
||||
|
||||
if (config.platform === 'irc') {
|
||||
bot.client.say(roomId || recipient, curatedBody);
|
||||
bot.client.say(/^#/.test(roomId) ? roomId : recipient, curatedBody);
|
||||
}
|
||||
|
||||
if (config.platform === 'schat') {
|
||||
|
||||
Reference in New Issue
Block a user