Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will send message more than once in a day #1

Open
martin0258 opened this issue Oct 24, 2013 · 0 comments
Open

Will send message more than once in a day #1

martin0258 opened this issue Oct 24, 2013 · 0 comments
Assignees
Labels

Comments

@martin0258
Copy link
Owner

Problem

It will happen because a user will sign in/out multiple times in a day.

Solution

for m in chat.RecentMessages:
  # Do not send if a same message is found
  # Technically, we can check: m.Body & m.Datetime
@ghost ghost assigned martin0258 Oct 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant