added vanish check to the afk scheduler