Throw error if bot is started with a wrong number of arguments.