carpedm20/between

Distinguish who send what to complete echobot.py

Open

#3 aberto em 6 de mai. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Python (4 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (39 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador