rizaumami / merbot

Telegram Group Administration Bot

Home Page:http://rizaumami.github.io/merbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hook.io problem

raditv opened this issue · comments

I have a problem when using hook.io

evalmachine.<anonymous>:9
  var textmessage =  msg.text;
                        ^
Cannot read property 'text' of undefined

that is error message

Make sure to:

  1. match var TOKEN = hook.env.merbot_key; and var MASTER = hook.env.mimin_teh_bot; with your key on environmet variable.
    environment variable
    merbot_key is my bot api token key, and mimin_teh_bot is my telegram-cli id key.
  2. start the bot webhook