• Register
    • Login
    • Search

    MMM-telegramBot - not allowed to command

    EXT-TelegramBot
    2
    5
    97
    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 Donators 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

        My place in France Top committers of Github:
        committers.top badge

        J 1 Reply Last reply Reply Quote 0
        • J
          JSTAL Donators @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 …)

            My place in France Top committers of Github:
            committers.top badge

            J 1 Reply Last reply Reply Quote 1
            • J
              JSTAL Donators @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 ©2023