carpedm20/between

Distinguish who send what to complete echobot.py

Open

#3 aperta il 6 mag 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (4 fork)github user discovery
help wanted

Metriche repository

Star
 (39 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor