(re)connection improvements
- [ ] Client should respect server wishes to not come back. Don't attempt reconnect for KILL.
- [x] Client should allow modification of re-connection timing via event.
- [x] Client should allow modification of re-connection occurring at all via event.
DisconnectCause enum? KILL, USER_INITIATED_QUIT, PING_TIMEOUT, CONNECTION_RESET...?
oooooh
Example last three messages when killed via ghost:
CURRENTNICK is the nick of the user being killed AUTHEDNICK is the nick of the user doing the killing
:[email protected] KILL CURRENTNICK :(GHOST command used by AUTHEDNICK)
:[email protected] QUIT :Killed (NickServ (GHOST command used by AUTHEDNICK))
ERROR :Closing Link: HOST.NAME (Killed (NickServ (GHOST command used by AUTHEDNICK)))
Example last two messages when floodkicked
:[email protected] QUIT :Excess Flood
ERROR :Closing Link: HOST.NAME (Excess Flood)
I'll leave this here
https://github.com/justintv/Twitch-API/blob/master/IRC.md#reconnect
@Ribesg 's link got deprecated, updated link: https://dev.twitch.tv/docs/v5/guides/irc/#reconnect-twitch-commands (I think?)