index.js
function say(message, channelId) {
  channelId = channelId || false;

  if (channelId) {
    sendDiscordMessage(channelId, message);
    return;
  }

  if (!ircClient || typeof message !== 'string')
    return;

  ircClient.say(config.channel, message);
}
function say(message, channelId) {
  channelId = channelId || false;

  if (channelId) {
    sendDiscordMessage(channelId, message);
    return;
  }

  if (!ircClient || typeof message !== 'string')
    return;

  ircClient.say(config.channel, message);
}
function say ( message , channelId ) { channelId = channelId || false ; if ( channelId ) { sendDiscordMessage ( channelId , message ) ; return ; } if ( ! ircClient || typeof message !== 'string' ) return ; ircClient . say ( config . channel , message ) ; }
Say a message to chat

@param message     {string} - send a message to chat
@param [channelId] {string} - id of discord channel
Say a message to chat