TODO done
Do nothing if bot is already configured in correct mode
typo fix
Move filtering and debug earlier