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

Don't purge messages after a bad/expired OAuth token API call return #7

Open
dopeghoti opened this issue May 4, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dopeghoti
Copy link
Owner

If the Bearer token expires, the bot currently thinks all channels are offline, and deletes all messages, and then reposts all applicable ones in the next "tick". Instead, abort the entire process on a failed API call.

@dopeghoti dopeghoti added the bug Something isn't working label May 4, 2021
dopeghoti added a commit that referenced this issue May 4, 2021
Implements #7, albeit very sloppily.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant