Giter Club home page Giter Club logo

Comments (6)

samuelemusiani avatar samuelemusiani commented on July 22, 2024 2

Per me va bene chiudere. La cosa di filtrare il mittente sulla callback potrebbe avere un senso. Magari il blocco è solo per i primi minuti in cui il comando è stato mandato e poi dopo tutti possono interagire. Per me questa è una feature che possiamo implementare

from informabot.

foxyseta avatar foxyseta commented on July 22, 2024

Quali delle soluzioni proposte è la più valida? @boozec sta investigando

from informabot.

boozec avatar boozec commented on July 22, 2024

Ho guardato la cosa e ho visto che c'è un modo carino di farlo [1] ed è supportata dalla libreria Telegram Go. C'è un problema però che rende Keyboard inutilizabile per questo caso d'uso, e mi riferisco alle mancate callback. L'utente, quando clicca il bottone, invia un messaggio con tale testo al bot (o nel gruppo): questo vuol dire che il bot deve gestire tutti i messaggi che gli arrivano e vedere se fanno match con qualcosa, ma in questo caso dovremmo fare sequenzialmente gli step corso -> anno -> giorno.
Il flow però è meno elegante, perché non parliamo più di comandi o callback; oltre al possibile spam dentro un gruppo.

[1]
photo_6030641478591692242_y

from informabot.

foxyseta avatar foxyseta commented on July 22, 2024

Dovremmo anche dare accesso al bot ai messaggi che non cominciano per / nelle autorizzazioni?

from informabot.

samuelemusiani avatar samuelemusiani commented on July 22, 2024

La mancanza di callback per per Keyboard e la necessità di mandare tutti i messaggi sul gruppo per capire che lezioni mandare mi fa pensare che la soluzione attuale sia la migliore

from informabot.

foxyseta avatar foxyseta commented on July 22, 2024

Sisi aspettavo proprio una scusa definitiva per bocciarla come cosa. Sembra una funzionalità progettata un po' a metà almeno nel caso dei gruppi.

Ad ogni modo, anche usando le tastiere in linea (sotto al messaggio) come ora, possiamo comunque filtrare i callback in base al mittente. Quindi se in futuro vediamo che succedono malestri con gente che si ruba i comandi a vicenda possiamo comunque sistemare in altro modo. Se anche a voi soddisfa la situa attuale possiamo chiudere come "Non programmata". Dopotutto in queste settimane non sono successi casini.

from informabot.

Related Issues (20)

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.