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

Sending messages to channels without requisite permissions result in a restart #6

Open
williammck opened this issue May 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@williammck
Copy link
Member

We don't currently have checks in place for whether we're able to send messages to a given channel.
Because of this, if a channel we're observing doesn't grant us send permissions, the bot will crash out and restart.
We should ideally check this before even generating a message, as otherwise we're spending useless cycles when another channel could instead get a message.

A/C: Stop generating messages for channels we can't send in

@williammck williammck added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant