init script for bot rejoin on disconnect