notifico icon indicating copy to clipboard operation
notifico copied to clipboard

When a channel is deleted the bot should disconnect

Open Croydon opened this issue 8 years ago • 5 comments

Right now, if one deletes an IRC channel Notifico will just stay connected to it.

Croydon avatar Dec 24 '16 04:12 Croydon

Not only occurs when deleting the channel, but also occurs if the webhook is deleted. even deleting the project also does not disconnect from the channel and remains on the network after kicking it out of the channel.

minduser00 avatar Oct 11 '18 03:10 minduser00

Just kick the bot if you don't want it anymore.

Dav1dde avatar Oct 11 '18 06:10 Dav1dde

It was the first thing that occurred to me when I saw that the bot remained after deleting the channel and the project, but even so, more than 12 hours later, the bot remains connected to the IRC network.

minduser00 avatar Oct 11 '18 16:10 minduser00

It will stay forever until the bot is restarted, there is no mechanism that checks for active networks and channels. It joins when there is a message to send and then stays.

Dav1dde avatar Oct 11 '18 16:10 Dav1dde

We should disconnect a configurable (say, 10 minutes) time after the last channel on a given network is deleted. We don't want to join and leave immediately if a user is quickly deleting the only channel on a network, as this will be an instant banhammer.

TkTech avatar Jun 26 '21 07:06 TkTech