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

Fixed issue with tick triggering a cron message every time. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TBSliver
Copy link

@TBSliver TBSliver commented Jun 1, 2018

Closes #1

The issue is that tick is triggered every 5 seconds - which means that the bot will send a message every 5 seconds during the minute which is specified in the cron command. This PR fixes this by tracking the last time the loop was run, and triggering if the minute does not match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

issue with tick
1 participant