ajacksified/hubot-plusplus

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

Open

#66 建立於 2016年4月25日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)CoffeeScript (97 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (63 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南