Giter Site home page Giter Site logo

msdb-telegram-bot's People

Contributors

iclavijos avatar

Watchers

 avatar

msdb-telegram-bot's Issues

Bot replies to any "command-like" message in groups

Buenas Ivan,

Context: The bot behaviour with command-like messages (/XXXX) is not ideal in groups where one may have other bots that of course have other /commands defined.
Issue: Any /command is replied by the bot even if not addressed to it.
Description: Even a command specifically addressed to another bot in the same group /XXX@MyBot will be replied complaining (con la coña del error.wtf ;-) ) by yours. I can see error.wtf is called in processInvalidCommandUpdate.

While I understand this behaviour suits a private chat with the bot, unfortunately in groups it is not possible while having other bots.

P.S.: I tried to find under which conditions you execute the processInvalidCommandUpdate function to propose something, but I cannot see it in the code. In any case, the bot should just check if the command is being addressed to itself and ignore all others.
I found a reference with a similar issue and a solution: python-telegram-bot/python-telegram-bot#319.

Un saludo y ¡gracias por el bot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.