ajacksified / ajacksified/hubot-plusplus

bot name is stored as part of the "thing" you want to give points to

Aperta
#66 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
CoffeeScript
Stelle
63
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In telegram group chats when the bot can't receive all messages for privacy, you have to write the name of the bot before the command. Like:

@botname test++

That results in the points assigned to "botname test". The name of the bot should be stripped.

In our case, the bot is named @eljaqueado_bot. This is the score after a few tries:
1. eljaqueado_bot test : 3
2. eljaqueado_bot @jonbrefe : 3
3. test : 0

The last "test" entry came from a private message to the bot. The other two from the group chat.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.