Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    MMM-telegramBot - not allowed to command

    MMM-TelegramBot
    2
    5
    91
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JSTAL last edited by

      Installed telegrambot

      When I want to send a command message I get this message
      BotKnipsel.PNG

      how to ask admin?

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi @JSTAL,

        this answer happen when you don’t add your username (or make a mismake) in allowedUser : ['<your Telegram username without @>'],
        I think wiki can help you

        J 1 Reply Last reply Reply Quote 0
        • J
          JSTAL @bugsounet last edited by

          @bugsounet - I have tried all (see picture) non of them gives me any proper result or ID - to me “Jstal_bot” should be the correct name. See config details But I also tried “Johan” and “MyMirrorBot”.

          {
            module: 'MMM-TelegramBot',
            position: 'top_center',
            config: {
              telegramAPIKey : '2blablabla ..... = key I got from botfather',
              allowedUser : ['Jstal_bot'], // This is NOT the username of bot.
            }
          },
          

          bot name.PNG

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by bugsounet

            ??? allowedUser : [‘Jstal_bot’], // This is NOT the username of bot. <---- it’s YOUR username ! (and NOT your Nickname …)

            J 1 Reply Last reply Reply Quote 1
            • J
              JSTAL @bugsounet last edited by

              @bugsounet - Ok I got it - Did not filled in a username on the bot settings. that part I missed. Now I get a response. Thanks

              1 Reply Last reply Reply Quote 0
              • Moved from FAQ and How To by  bugsounet bugsounet 
              • Moved from by  bugsounet bugsounet 
              • First post
                Last post
              Powered by NodeBB | @bugsounet ©2022