src/message-processor.js
/**
   *
   * @param {Message} msg  instance of Message class
   */
@param {Message} msg  instance of Message class
@param { Message } msg instance of Message class
processGeneralMessage (msg) {
    const isSaidToBot = msg.isSaidToBot();
    const isTimeToSayRandomly = this.constructor.isTimeToSayRandomly();
    const isReplyRequired = isSaidToBot || isTimeToSayRandomly;
    if (isReplyRequired) {
      const resultMessage = this.getBullshit(msg.getText());
      this.sendMessage(msg.getChatId(), resultMessage);
    }
  }
processGeneralMessage ( msg ) { const isSaidToBot = msg . isSaidToBot ( ) ; const isTimeToSayRandomly = this . constructor . isTimeToSayRandomly ( ) ; const isReplyRequired = isSaidToBot || isTimeToSayRandomly ; if ( isReplyRequired ) { const resultMessage = this . getBullshit ( msg . getText ( ) ) ; this . sendMessage ( msg . getChatId ( ) , resultMessage ) ; } }
@param {Message} msg  instance of Message class
@param { Message } msg instance of Message class