Rewrote trigger logic to reduce duplicate code, added auto-rejoin functionality, improve logging output, small performance tweaks on pings and kicks