carpedm20/between

Distinguish who send what to complete echobot.py

Open

#3 opened on 2015年5月6日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (4 forks)github user discovery
help wanted

Repository metrics

Stars
 (39 stars)
PR merge metrics
 (PR metrics pending)

説明

https://github.com/carpedm20/between/blob/master/examples/echobot.py#L17

This code is not perfect echo bot because it cannot distinguish sender. Here, msg['from'] looks like session_id not an account_id, which is used to distinguish users.

コントリビューターガイド