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

discord bot doesn't fetch latest state from webdiplomacy #1

Closed
circius opened this issue Apr 7, 2020 · 1 comment
Closed

discord bot doesn't fetch latest state from webdiplomacy #1

circius opened this issue Apr 7, 2020 · 1 comment
Assignees

Comments

@circius
Copy link
Owner

circius commented Apr 7, 2020

discord report reliably fetches the latest state of a webdiplomacy game and displays it correctly. discord daemon, on the other hand, seems only to record the state of the game when it's first run, and never to fetch new state.

Since the two subcommands share most of their code this is a bit of a mystery.

@circius circius self-assigned this Apr 7, 2020
circius added a commit that referenced this issue Apr 7, 2020
@circius
Copy link
Owner Author

circius commented Apr 7, 2020

I left the daemon's scraping code out of the eventloop, so it only ran on startup.

Solved by 379aad8

@circius circius closed this as completed Apr 7, 2020
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

No branches or pull requests

1 participant