feat: persist invite-joined channels for auto-rejoin on connect
When the bot accepts an admin INVITE, the channel is stored in bot.state under chanmgmt/autojoin:<channel>. On reconnect, persisted channels are rejoined alongside configured ones. If the bot is kicked, the channel is removed from the auto-rejoin list. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -302,7 +302,10 @@ The bot must have channel operator status for these commands to take effect.
|
||||
### Invite Auto-Join
|
||||
|
||||
When an admin or IRC operator sends an `INVITE`, the bot automatically joins
|
||||
the target channel. Non-admin invites are silently ignored.
|
||||
the target channel and persists it for auto-rejoin on reconnect. Non-admin
|
||||
invites are silently ignored. If the bot is kicked from a persisted channel,
|
||||
it is removed from the auto-rejoin list. Channels already in the config
|
||||
`[bot] channels` are skipped (they rejoin via the normal path).
|
||||
|
||||
## Plugin State Persistence
|
||||
|
||||
|
||||
Reference in New Issue
Block a user