When a channel is set as a join log channel and is deleted, the channelid stays in the welcome_channels column in the DB, and when the channel can not be found, the send() function fails and throws an exception.
A few things need to be done to prevent this.
1) When a single channel send() fails, it should catch the error and continue sending messages to the rest of the channels
2) Add way to view which channels are currently in welcome_channels ( I had to check the DB to see)
3) Add ability to remove a channel if it is deleted
(Optional) when a channel is deleted, it should be automatically removed to prevent error spamming.
When a channel is set as a join log channel and is deleted, the channelid stays in the welcome_channels column in the DB, and when the channel can not be found, the send() function fails and throws an exception.
A few things need to be done to prevent this.
1) When a single channel send() fails, it should catch the error and continue sending messages to the rest of the channels
2) Add way to view which channels are currently in welcome_channels ( I had to check the DB to see)
3) Add ability to remove a channel if it is deleted
(Optional) when a channel is deleted, it should be automatically removed to prevent error spamming.