A server I'm on has a bot that auto-invites users to a channel once they're authenticated. This always happens right away when logging in. So I have an Autojoin set for that channel with a 5 second delay (which should be plenty). I know that this should work because I get the message that I'm invited to the channel, always within the same second as my authentication.
Most of the time it works - but sometimes, like 1 out of 8, it simply does nothing.
If there's a way to debug or troubleshoot I'm happy to help.
This is on the 64-bit 4.5 Beta from 29.10.2023. But I'm pretty sure it happened with 4.4 stable also.
Updated by Per Amundsen 23 days ago
If you are talking about using the option "Join channels when invited", it does not use the delay option from the Serverlist, that option is only for auto joining channel on connect, to e.g give nickserv time to authenticate.
If you mean you are using a script with /sleep, please post the script.
You can monitor the invite message and any JOIN attempts in Menubar -> File -> Rawlog.
Updated by Per Amundsen 16 days ago
- Status changed from New to Invalid
That does sounds more plausible, but yes let me know if you find a case where time is not the issue.
Also, depending on what type of message the bot invite is, you could use a script that performs the join for you, something like:
; if it's a private message, replace text to match as needed on *:TEXT:*bot invites you to join #channel*:?:/join #channel ; if it's a private notice, replace text to match as needed on *:NOTICE:*bot invites you to join #channel*:?:/join #channel