carpedm20/between

Distinguish who send what to complete echobot.py

Open

#3 opened on May 6, 2015

View on 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)

Description

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.

Contributor guide