Solved /mychatid
-
Hello!
First of all, thanks to @bugsounet for creating all the modules!
I have an error which I can’t find out where it is, everything happens with MMM-TelegramBot, when I write /mychatid in my bot’s message, it tells me that I don’t have permissions to do that. The token and the allowed user are correct. I don’t understand where the problem lies.
Please could you help me?Thanks!
-
allowedUser
is an Array with your userName (not your nickname) -
Features with STRING/ARRAY/NUMBER/BOOLEAN
-
For STRING:
Feature: "my value"
-
For ARRAY
Feature: ["my_value1", "my_value2, "my_valueXX"]
-
For NUMBER
Feature: 1234
-
For BOOLEAN
Feature: true
or
Feature: false
-
-
@bugsounet Hello! I have my username set correctly.
-
without
@
? -
Clearly, as the wiki mentions, without @
-
ok, i found a bug
-
try dev branch and tell me if better
(it’s works for me)
copy past this:
cd ~/MagicMirror/modules/MMM-TelegramBot rm -rf package-lock.json node_modules/ && git checkout -f dev && git pull && npm install
-
Hello!
It keeps giving me the same lop: You don’t have permissions to do that, ask an administrator.
-
So it’s means that your personal account is not in
allowedUser
-
Create another bot and it works, I have the admin chat id.
Thanks again @bugsounet for the modules!
-
The Dev3l
-
ok, don’t forget to return to master branch !
cd ~/MagicMirror/modules/MMM-TelegramBot rm -rf package-lock.json node_modules/ && git checkout -f master && git pull && npm install
-
bugsounet