Skip to content

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

@williammck

Description

@williammck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions